forked from d2bjs/d2b
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
71 lines (71 loc) · 2.07 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
{
"name": "d2b",
"version": "0.0.22",
"description": "A d3-based reusable chart library.",
"keywords": [
"d3",
"d3-module",
"chart",
"charts",
"pie",
"axis",
"line",
"area",
"bar",
"stacked",
"tooltip"
],
"license": "MIT",
"main": "build/d2b.cjs.js",
"jsnext:main": "src/scripts/index.js",
"homepage": "http://d2bjs.org",
"repository": {
"type": "git",
"url": "https://github.com/d2bjs/d2b"
},
"scripts": {
"build:dev": "npm run build:package && npm run test && rollup -c -g d3:d3",
"build:prod": "npm run build:package && NODE_ENV=production rollup -c -g d3:d3",
"build:server": "http-server -a localhost -p 8000",
"build:watcher": "npm-watch",
"build:package": "json2module package.json > build/package.js",
"build:watch": "npm-run-all --parallel build:watcher build:server",
"start": "npm run build:server",
"test": "jasmine",
"docs:prepare": "gitbook install",
"docs:watch": "npm run docs:prepare && gitbook serve",
"docs:build": "npm run docs:prepare && rm -rf _book && gitbook build",
"docs:publish": "npm run docs:build && cp docs/cname _book && cd _book && git init && git commit --allow-empty -m 'Update docs' && git checkout master && git add . && git commit -am 'Update docs' && git push [email protected]:d2bjs/d2bjs.github.io master --force"
},
"dependencies": {
"d3": "^4.5.0"
},
"devDependencies": {
"babel-preset-es2015-rollup": "^3.0.0",
"cssnano": "^3.10.0",
"http-server": "^0.9.0",
"jasmine": "^2.5.3",
"jsdom-no-contextify": "^3.1.0",
"npm-run-all": "^4.0.1",
"npm-watch": "^0.1.8",
"postcss-cssnext": "^2.9.0",
"postcss-triangle": "^1.0.1",
"precss": "^1.4.0",
"rollup": "0.27",
"rollup-plugin-babel": "^2.7.1",
"rollup-plugin-eslint": "^3.0.0",
"rollup-plugin-postcss": "^0.2.0",
"rollup-plugin-uglify": "^1.0.1",
"rollup-watch": "^3.2.2",
"uglify-js": "2"
},
"watch": {
"build:dev": {
"patterns": [
"src",
"spec"
],
"extensions": "js,css,scss"
}
}
}