-
-
Notifications
You must be signed in to change notification settings - Fork 56
/
package.json
34 lines (34 loc) · 1.06 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
{
"name": "d3tutorial",
"version": "1.0.0",
"private": true,
"description": "",
"main": "index.js",
"scripts": {
"start": "http-server",
"postinstall": "shx rm -rf web_modules/d3 && shx mkdir -p web_modules/d3/dist && shx cp -r \"node_modules/d3/{README.md,LICENSE,package.json}\" web_modules/d3 && shx cp -r \"node_modules/d3/dist/d3*.js\" web_modules/d3/dist && npm run compile",
"compile": "tsc -p .",
"watch": "tsc -w -p .",
"format": "prettier --print-width 120 --write \"examples/*.(html|ts|css|json)\" index.html README.md package.json"
},
"repository": {
"type": "git",
"url": "git+https://github.com/sgratzl/d3tutorial.git"
},
"author": "Samuel Gratzl",
"license": "BSD-3-Clause",
"bugs": {
"url": "https://github.com/sgratzl/d3tutorial/issues"
},
"homepage": "https://github.com/sgratzl/d3tutorial#readme",
"dependencies": {
"d3": "^7.8.2"
},
"devDependencies": {
"@types/d3": "^7.4.0",
"http-server": "^14.1.1",
"prettier": "^2.8.3",
"shx": "^0.3.4",
"typescript": "^4.9.4"
}
}