-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
32 lines (32 loc) · 1019 Bytes
/
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
{
"scripts": {
"lint:code": "prettier -c src/",
"lint:ts": "tsc --noEmit",
"lint:eslint": "eslint .",
"test": "npm run lint:code && npm run lint:ts && npm run lint:eslint",
"analyze": "esbuild src/index.ts --minify --bundle --loader:.ts=ts --outdir=_site --metafile=meta.json",
"build": "esbuild src/index.ts --minify --bundle --loader:.ts=ts --target=es2022 --outdir=_site",
"dev": "esbuild src/index.ts --sourcemap --bundle --loader:.ts=ts --target=es2022 --watch --outdir=_site",
"prepare": "husky install"
},
"dependencies": {
"d3": "^7.8.1",
"preact": "^10.11.3",
"typescript": "^4.9.4"
},
"devDependencies": {
"@types/d3": "^7.4.0",
"@typescript-eslint/eslint-plugin": "^5.48.2",
"@typescript-eslint/parser": "^5.48.2",
"csv": "^6.1.0",
"esbuild": "^0.17.0",
"eslint": "^8.32.0",
"husky": "^8.0.3",
"node-fetch": "^2",
"node-html-parser": "^5.2.0",
"prettier": "^2.8.3"
},
"prettier": {
"printWidth": 120
}
}