-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
46 lines (46 loc) · 1.59 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
{
"name": "d3-combined",
"version": "0.0.1",
"description": "",
"main": "app/js/main.mjs",
"scripts": {
"roll:dev": "rollup -c",
"roll:dist": "rollup -c rollup.config-dist.mjs",
"clean-dist": "rm -f dist/*.min* && rm -f dist/data/*.json.gz dist/data/*/*.json.gz",
"copy-css": "cleancss --output dist/styles.min.css app/css/styles.css && cp app/css/fonts.css dist/",
"copy-data": "cp -r app/data dist/ && find dist/data -name \"*.json\" | xargs -Ix gzip x",
"dist": "npm run clean-dist && npm run roll:dist && npm run copy-data && npm run copy-css",
"extract-data": "rm -rf app/data && unzip -d `dirname app/data.zip` app/data.zip",
"lint": "npx eslint@8 . --ext .mjs --max-warnings=0",
"lint:fix": "npx eslint@8 . --ext .mjs --fix --max-warnings=0",
"serve": "lite-server",
"start": "npm run roll:dev && npm run serve & npm run watch",
"watch": "nodemon --ext mjs,html,json,css --exec npm run roll:dev"
},
"lint-staged": {
"*.mjs": "npm run lint"
},
"author": "",
"license": "ISC",
"devDependencies": {
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-node-resolve": "^15.2.3",
"rollup-plugin-string": "^3.0.0",
"@rollup/plugin-terser": "^0.4.4",
"clean-css-cli": "^5.6.3",
"lite-server": "^2.6.1",
"rollup": "^4.13.0"
},
"dependencies": {
"d3-array": "^3.2.4",
"d3-fetch": "^3.0.1",
"d3-format": "^3.1.0",
"d3-scale": "^4.0.2",
"d3-scale-chromatic": "^3.1.0",
"d3-selection": "^3.0.0",
"d3-shape": "^3.2.0",
"d3-transition": "^3.0.1",
"nodemon": "^3.1.0",
"pako": "^2.1.0"
}
}