-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
40 lines (40 loc) · 1.03 KB
/
Copy pathpackage.json
File metadata and controls
40 lines (40 loc) · 1.03 KB
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
{
"name": "react-d3",
"version": "2.0.1",
"description": "Demo application showcasing react & d3",
"prettier": {
"printWidth": 120,
"singleQuote": true,
"trailingComma": "all"
},
"lint-staged": {
"src/**/{*.ts,*.tsx}": ["prettier --write", "npm run production", "git add build/main.js", "git add"]
},
"main": "src/main.tsx",
"scripts": {
"precommit": "lint-staged",
"compile": "webpack",
"format": "prettier --write \"src/**/{*.ts,*.tsx}\"",
"start": "webpack-dev-server",
"production": "NODE_ENV=production webpack"
},
"author": "Shantanu Raj <s@sraj.me>",
"license": "Apache-2.0",
"dependencies": {
"d3": "^4.12.0",
"react": "^16.2.0",
"react-dom": "^16.2.0"
},
"devDependencies": {
"@types/d3": "^4.12.0",
"@types/react": "^16.0.28",
"@types/react-dom": "^16.0.3",
"husky": "^0.14.3",
"lint-staged": "^6.0.0",
"prettier": "1.9.1",
"ts-loader": "^3.2.0",
"typescript": "^2.6.2",
"webpack": "^3.10.0",
"webpack-dev-server": "^2.9.7"
}
}