-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpackage.json
63 lines (63 loc) · 2.62 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
{
"name": "webcharts",
"description": "A library for creating flexible, interactive charts",
"version": "1.11.6",
"author": "Rho, Inc.",
"homepage": "https://github.com/RhoInc/Webcharts",
"keywords": [
"charts",
"javascript",
"interactive",
"data visualization"
],
"main": "./build/webcharts.js",
"module": "./src/index.js",
"scripts": {
"build": "npm audit fix && npm run bundle && npm run format && npm run minify",
"bundle": "rollup -c",
"bunfor": "npm run bundle && npm run format",
"format": "npm run format-src && npm run format-bundle && npm run format-test",
"format-src": "prettier --print-width=100 --tab-width=4 --single-quote --write src/**/*.js",
"format-bundle": "prettier --print-width=100 --tab-width=4 --single-quote --write build/webcharts.js",
"format-test": "prettier --print-width=100 --tab-width=4 --single-quote --write test/**/*.js",
"minify": "npm run minify-css && npm run minify-js",
"minify-css": "cleancss -o css/webcharts.min.css css/webcharts.css",
"minify-js": "uglifyjs build/webcharts.js > build/webcharts.min.js",
"test": "npm run test-chart && npm run test-controls && npm run test-miscellaneous && npm run test-multiply && npm run test-table",
"test-chart": "mocha --timeout 5000 --require babel-register --recursive ./test/chart/*.js",
"test-controls": "mocha --timeout 5000 --require babel-register --recursive ./test/controls/*.js",
"test-miscellaneous": "mocha --timeout 5000 --require babel-register --recursive ./test/miscellaneous/*.js",
"test-multiply": "mocha --timeout 5000 --require babel-register --recursive ./test/multiply/*.js",
"test-new": "mocha --require babel-register ./test/testNewUnitTests.js",
"test-page": "start chrome ./test-page/createChart/index.html && start chrome ./test-page/createTable/index.html && start chrome ./test-page/multiply/index.html",
"test-table": "mocha --timeout 5000 --require babel-register --recursive ./test/table/*.js",
"watch": "rollup -c -w"
},
"dependencies": {
"d3": "^3"
},
"optionalDependencies": {
"js-xlsx": "^0.8.22"
},
"devDependencies": {
"babel-plugin-external-helpers": "^6.22.0",
"babel-preset-env": "^1.7.0",
"babel-register": "6",
"clean-css-cli": "^4.2.1",
"expect": "1",
"jsdom": "^11.12.0",
"mocha": "^3.5.3",
"prettier": "1.4.4",
"rollup": "^0.68.0",
"rollup-plugin-babel": "^2.7.1",
"uglify-js": "^2.5.0"
},
"repository": {
"type": "git",
"url": "https://github.com/rhoinc/webcharts.git"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/rhoinc/webcharts/issues"
}
}