forked from stonelf/China-college-application
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
47 lines (47 loc) · 1.15 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
{
"name": "college-applier",
"version": "1.0.0",
"license": "AGPL-3.0",
"homepage": "https://professortian.net/",
"repository": {
"type": "git",
"url": "git+https://github.com/stonelf/China-college-application.git"
},
"bugs": {
"url": "https://github.com/stonelf/China-college-application/issues"
},
"contributors": [
],
"main": "source/index.html",
"dependencies": {
"web-cell": "^2.1.2"
},
"devDependencies": {
"husky": "^4.2.5",
"less": "^3.12.2",
"lint-staged": "^10.2.11",
"parcel": "^1.12.4",
"prettier": "^2.0.5",
"typescript": "^3.9.7",
"workbox-cli": "^4.3.1"
},
"lint-staged": {
"*.{html,md,css,js,json,ts}": [
"prettier --write"
]
},
"scripts": {
"test": "lint-staged",
"start": "workbox generateSW && parcel source/index.html --open",
"pack-dist": "parcel build source/index.html",
"pack-sw": "rm -f dist/sw.js.map && workbox generateSW",
"build": "rm -rf .cache/ dist/ && npm run pack-dist && npm run pack-sw"
},
"husky": {
"hooks": {
"pre-commit": "npm test",
"pre-push": "npm run build"
}
}
}