|
1 | 1 | {
|
2 |
| - "name": "wuhan2020", |
3 |
| - "version": "0.5.0", |
4 |
| - "license": "AGPL-3.0", |
5 |
| - |
6 |
| - "description": "针对 2020 新冠病毒疫情中的武汉援助信息网站", |
7 |
| - "homepage": "https://wuhan2020.github.io/", |
8 |
| - "repository": { |
9 |
| - "type": "git", |
10 |
| - "url": "git+https://github.com/wuhan2020/wuhan2020.github.io.git" |
11 |
| - }, |
12 |
| - "bugs": { |
13 |
| - "url": "https://github.com/EasyWebApp/wuhan2020/issues" |
14 |
| - }, |
15 |
| - "main": "source/index.html", |
16 |
| - "dependencies": { |
17 |
| - "@octokit/rest": "^16.38.3", |
18 |
| - "boot-cell": "^0.24.0", |
19 |
| - "browser-unhandled-rejection": "^1.0.2", |
20 |
| - "cell-router": "^2.0.0-rc.6", |
21 |
| - "classnames": "^2.2.6", |
22 |
| - "clipboard-polyfill": "^2.8.6", |
23 |
| - "js-base64": "^2.5.1", |
24 |
| - "koajax": "^0.5.3", |
25 |
| - "mobx": "^5.15.3", |
26 |
| - "mobx-web-cell": "^0.2.5", |
27 |
| - "web-cell": "^2.0.0-rc.15", |
28 |
| - "yaml": "^1.7.2" |
29 |
| - }, |
30 |
| - "devDependencies": { |
31 |
| - "@types/js-base64": "^2.3.1", |
32 |
| - "@types/yaml": "^1.2.0", |
33 |
| - "husky": "^4.2.1", |
34 |
| - "iterable-observer": "^1.0.0-beta.2", |
35 |
| - "lint-staged": "^10.0.2", |
36 |
| - "parcel-bundler": "^1.12.4", |
37 |
| - "prettier": "^1.19.1", |
38 |
| - "typescript": "^3.7.5", |
39 |
| - "workbox-cli": "^4.3.1" |
40 |
| - }, |
41 |
| - "prettier": { |
42 |
| - "singleQuote": true, |
43 |
| - "tabWidth": 4, |
44 |
| - "overrides": [ |
45 |
| - { |
46 |
| - "files": "*.yml", |
47 |
| - "options": { |
48 |
| - "tabWidth": 2 |
| 2 | + "name": "wuhan2020", |
| 3 | + "version": "0.5.0", |
| 4 | + "license": "AGPL-3.0", |
| 5 | + |
| 6 | + "description": "针对 2020 新冠病毒疫情中的武汉援助信息网站", |
| 7 | + "homepage": "https://wuhan2020.kaiyuanshe.cn/", |
| 8 | + "repository": { |
| 9 | + "type": "git", |
| 10 | + "url": "git+https://github.com/wuhan2020/WebApp.git" |
| 11 | + }, |
| 12 | + "bugs": { |
| 13 | + "url": "https://github.com/EasyWebApp/wuhan2020/issues" |
| 14 | + }, |
| 15 | + "main": "source/index.html", |
| 16 | + "dependencies": { |
| 17 | + "@octokit/rest": "^16.38.3", |
| 18 | + "boot-cell": "^0.24.0", |
| 19 | + "browser-unhandled-rejection": "^1.0.2", |
| 20 | + "cell-router": "^2.0.0-rc.6", |
| 21 | + "classnames": "^2.2.6", |
| 22 | + "clipboard-polyfill": "^2.8.6", |
| 23 | + "iterable-observer": "^1.0.0-beta.2", |
| 24 | + "js-base64": "^2.5.1", |
| 25 | + "koajax": "^0.5.3", |
| 26 | + "mobx": "^5.15.3", |
| 27 | + "mobx-web-cell": "^0.2.5", |
| 28 | + "web-cell": "^2.0.0-rc.15", |
| 29 | + "yaml": "^1.7.2" |
| 30 | + }, |
| 31 | + "devDependencies": { |
| 32 | + "@types/js-base64": "^2.3.1", |
| 33 | + "@types/yaml": "^1.2.0", |
| 34 | + "husky": "^4.2.1", |
| 35 | + "lint-staged": "^10.0.2", |
| 36 | + "parcel-bundler": "^1.12.4", |
| 37 | + "prettier": "^1.19.1", |
| 38 | + "typescript": "^3.7.5", |
| 39 | + "workbox-cli": "^4.3.1" |
| 40 | + }, |
| 41 | + "prettier": { |
| 42 | + "singleQuote": true, |
| 43 | + "tabWidth": 4, |
| 44 | + "overrides": [ |
| 45 | + { |
| 46 | + "files": "*.yml", |
| 47 | + "options": { |
| 48 | + "tabWidth": 2 |
| 49 | + } |
| 50 | + } |
| 51 | + ] |
| 52 | + }, |
| 53 | + "lint-staged": { |
| 54 | + "*.{html,md,less,js,json,yml,ts,tsx}": [ |
| 55 | + "prettier --write" |
| 56 | + ] |
| 57 | + }, |
| 58 | + "scripts": { |
| 59 | + "test": "lint-staged", |
| 60 | + "start": "rm -rf dist/ && parcel source/index.html --open", |
| 61 | + "pack-dist": "parcel build source/index.html --public-url .", |
| 62 | + "pack-sw": "rm -f dist/sw.js.map && workbox generateSW", |
| 63 | + "build": "rm -rf dist/ && npm run pack-dist && npm run pack-sw" |
| 64 | + }, |
| 65 | + "husky": { |
| 66 | + "hooks": { |
| 67 | + "pre-commit": "npm test", |
| 68 | + "pre-push": "npm run build" |
49 | 69 | }
|
50 |
| - } |
51 |
| - ] |
52 |
| - }, |
53 |
| - "lint-staged": { |
54 |
| - "*.{html,md,less,js,json,yml,ts,tsx}": [ |
55 |
| - "prettier --write" |
56 |
| - ] |
57 |
| - }, |
58 |
| - "scripts": { |
59 |
| - "test": "lint-staged", |
60 |
| - "start": "rm -rf dist/ && parcel source/index.html --open", |
61 |
| - "pack-dist": "parcel build source/index.html --public-url .", |
62 |
| - "pack-sw": "rm -f dist/sw.js.map && workbox generateSW", |
63 |
| - "build": "rm -rf dist/ && npm run pack-dist && npm run pack-sw" |
64 |
| - }, |
65 |
| - "husky": { |
66 |
| - "hooks": { |
67 |
| - "pre-commit": "npm test", |
68 |
| - "pre-push": "npm run build" |
69 | 70 | }
|
70 |
| - } |
71 | 71 | }
|
0 commit comments