forked from wuhan2020/WebApp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
70 lines (70 loc) · 2.08 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
{
"name": "wuhan2020",
"version": "0.5.0",
"license": "AGPL-3.0",
"author": "[email protected]",
"description": "针对 2020 新冠病毒疫情中的武汉援助信息网站",
"homepage": "https://wuhan2020.github.io/",
"repository": {
"type": "git",
"url": "git+https://github.com/wuhan2020/wuhan2020.github.io.git"
},
"bugs": {
"url": "https://github.com/EasyWebApp/wuhan2020/issues"
},
"main": "source/index.html",
"dependencies": {
"@octokit/rest": "^16.38.3",
"boot-cell": "^0.24.0",
"browser-unhandled-rejection": "^1.0.2",
"cell-router": "^2.0.0-rc.6",
"classnames": "^2.2.6",
"clipboard-polyfill": "^2.8.6",
"js-base64": "^2.5.1",
"koajax": "^0.5.3",
"mobx": "^5.15.3",
"mobx-web-cell": "^0.2.5",
"web-cell": "^2.0.0-rc.15",
"yaml": "^1.7.2"
},
"devDependencies": {
"@types/js-base64": "^2.3.1",
"@types/yaml": "^1.2.0",
"husky": "^4.2.1",
"lint-staged": "^10.0.2",
"parcel-bundler": "^1.12.4",
"prettier": "^1.19.1",
"typescript": "^3.7.5",
"workbox-cli": "^4.3.1"
},
"prettier": {
"singleQuote": true,
"tabWidth": 4,
"overrides": [
{
"files": "*.yml",
"options": {
"tabWidth": 2
}
}
]
},
"lint-staged": {
"*.{html,md,less,js,json,yml,ts,tsx}": [
"prettier --write"
]
},
"scripts": {
"test": "lint-staged",
"start": "rm -rf dist/ && parcel source/index.html --open",
"pack-dist": "parcel build source/index.html --public-url .",
"pack-sw": "rm -f dist/sw.js.map && workbox generateSW",
"build": "rm -rf dist/ && npm run pack-dist && npm run pack-sw"
},
"husky": {
"hooks": {
"pre-commit": "npm test",
"pre-push": "npm run build"
}
}
}