-
Notifications
You must be signed in to change notification settings - Fork 1.4k
/
package.json
93 lines (93 loc) · 2.89 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
{
"name": "c3",
"version": "0.7.20",
"description": "D3-based reusable chart library",
"main": "c3.js",
"files": [
"c3.js",
"c3.min.js",
"c3.esm.js",
"c3.css",
"c3.min.css",
"src"
],
"scripts": {
"start": "run-p serve-static watch",
"serve-static": "static -p 8080 htdocs/",
"lint": "jshint --reporter=node_modules/jshint-stylish src/ spec/",
"type": "tsc --noEmit",
"fmt": "prettier --write rollup.config.js karma.conf.js \"src/**/*.ts\" \"spec/**/*.ts\" *.json",
"docs": "bundle exec middleman",
"build": "run-s build:js build:css",
"build:js": "run-s build:js:rollup build:js:uglify",
"build:js:rollup": "rollup -c",
"build:js:uglify": "uglifyjs htdocs/js/c3.js --compress --mangle --comments -o htdocs/js/c3.min.js",
"build:css": "run-s build:css:sass build:css:min",
"build:css:sass": "sass src/scss/main.scss > htdocs/css/c3.css",
"build:css:min": "cleancss -o htdocs/css/c3.min.css htdocs/css/c3.css",
"build:docs": "bundle exec middleman build",
"publish-docs": "npm run build:docs && gh-pages -d build -m \"chore: update gh-pages [skip ci]\"",
"watch": "nodemon -e js,scss --watch src -x npm run build:js:rollup && npm run build:css:sass",
"watch:js": "nodemon -e js --watch src --ignore src/scss -x 'npm run build:js:rollup'",
"watch:css": "nodemon -e scss --watch src -x 'npm run build:css:sass'",
"watch:docs": "bundle exec middleman",
"karma": "karma start karma.conf.js",
"test": "run-s build lint karma",
"dist": "run-s build copy-to-root copy-to-docs",
"copy-to-docs": "cp htdocs/js/c3.* docs/js/ && cp htdocs/css/c3.* docs/css/",
"copy-to-root": "cp htdocs/{css,js}/c3.* ./",
"codecov": "codecov"
},
"repository": {
"type": "git",
"url": "git://github.com/c3js/c3.git"
},
"keywords": [
"d3",
"chart",
"graph"
],
"authors": [
"Masayuki Tanaka",
"Ændrew Rininsland",
"Yoshiya Hinosawa"
],
"license": "MIT",
"gitHead": "84e03109d9a590f9c8ef687c03d751f666080c6f",
"readmeFilename": "README.md",
"dependencies": {
"d3": "^5.8.0"
},
"devDependencies": {
"@types/d3": "^5.7.2",
"@types/jasmine": "^3.5.10",
"clean-css-cli": "^4.1.11",
"codecov": "^3.0.4",
"gh-pages": "^5.0.0",
"jasmine-core": "^2.3.4",
"jshint": "^2.9.7",
"jshint-stylish": "^2.1.0",
"karma": "^6.3.14",
"karma-chrome-launcher": "^3.0.0",
"karma-jasmine": "^1.1.0",
"karma-spec-reporter": "^0.0.32",
"karma-typescript": "^5.0.3",
"node-static": "^0.7.9",
"nodemon": "^2.0.0",
"npm-run-all": "^4.1.3",
"prettier": "^1.19.1",
"rollup": "^2.79.2",
"rollup-plugin-typescript2": "^0.27.1",
"sass": "^1.10.3",
"status-back": "^1.1.0",
"typescript": "^3.9.5",
"uglify-js": "^3.6.4",
"watchify": "^3.11.1"
},
"nyc": {
"exclude": [
"src/polyfill.js",
"spec/"
]
}
}