-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
80 lines (80 loc) · 1.98 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
{
"name": "past-election-map",
"version": "1.0.5",
"description": "Past general election comparison map for Thailand",
"main": "index.js",
"scripts": {
"clean": "rm -rf build/ && rm -rf dist/",
"start": "parcel src/index.html --host 0.0.0.0",
"prebuild": "npm run clean",
"build": "parcel build src/index.html -d build/",
"format": "prettier --write \"src/!(data)/**/*.{js,jsx,json,yml,md}\""
},
"repository": {
"type": "git",
"url": "git+https://github.com/codeforthailand/past-election-map.git"
},
"keywords": [
"map",
"topology",
"cartography",
"geopolitical",
"thailand"
],
"author": "ELECT <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/codeforthailand/past-election-map/issues"
},
"homepage": "https://github.com/codeforthailand/past-election-map#readme",
"devDependencies": {
"@babel/core": "^7.8.6",
"@babel/preset-env": "^7.8.6",
"@babel/preset-react": "^7.8.3",
"doctoc": "^1.4.0",
"husky": "^4.2.3",
"lint-staged": "^10.0.8",
"parcel-bundler": "^1.12.4",
"parcel-plugin-static-files-copy": "^2.3.1",
"prettier": "^1.19.1",
"sass": "^1.26.2"
},
"dependencies": {
"d3": "^5.15.0",
"esm": "^3.2.25",
"lodash": "^4.17.15",
"polylabel": "^1.0.2",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-is": "^16.13.0",
"react-meta-tags": "^0.7.4",
"react-router-dom": "^5.1.2",
"react-spinners": "^0.8.1",
"styled-components": "^5.0.1",
"topojson-client": "^3.1.0",
"topojson-simplify": "^3.0.3"
},
"browserslist": [
"last 1 Chrome versions"
],
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/!(data)/**/*.{js,jsx,json,yml,md}": [
"prettier --write",
"git add"
],
"README.md": [
"doctoc",
"prettier --write",
"git add"
]
},
"staticFiles": {
"staticPath": "src/data",
"watcherGlob": "**"
}
}