-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
35 lines (35 loc) · 1.44 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
{
"name": "timing-stats",
"version": "1.0.0",
"main": "index.js",
"license": "MIT",
"devDependencies": {
"bootstrap": "^3.3.7",
"chai": "^4.0.0",
"d3": "^4.7.4",
"eslint": "^3.12.2",
"gh-pages": "^0.12.0",
"mocha": "^3.2.0",
"timing-stats-cli": "^0.6.0",
"wealthfront-javascript": "^4.0.0",
"webpack": "^2.2.1",
"webpack-dev-server": "^2.3.0"
},
"scripts": {
"copy:sample": "benchmark copy:sample cp sample_data.json dist/",
"copy:bootstrap": "benchmark copy:bootstrap yarn clean:bootstrap && mkdir dist/css && cp -R node_modules/bootstrap/dist/css/* dist/css",
"copy:css": "cp src/css/* dist/css",
"copy": "yarn copy:sample && yarn copy:bootstrap && yarn copy:css",
"build:js": "benchmark webpack webpack",
"build": "yarn build:js",
"style": "benchmark eslint eslint script src test",
"assets": "yarn copy && yarn build",
"start": "yarn assets && webpack-dev-server --progress --colors --hot --content-base dist/",
"test": "yarn style && benchmark mocha mocha",
"clean:bootstrap": "rm -rf dist/css",
"clean:gh-pages": "rm -rf node_modules/gh-pages/.cache",
"deploy:gh-pages": "benchmark deploy:gh-pages yarn clean:gh-pages && node ./script/deploy.js",
"deploy:timing-data": "add-temp-timing-to-json sample_data.json && yarn clean:gh-pages && node ./script/add_timing_data.js",
"deploy": "yarn assets && yarn deploy:gh-pages && yarn deploy:timing-data"
}
}