-
Notifications
You must be signed in to change notification settings - Fork 141
/
package.json
97 lines (97 loc) · 3.42 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
{
"name": "wuhan2020-pwa",
"version": "1.2.0",
"license": "AGPL-3.0",
"author": "[email protected]",
"description": "武汉新型冠状病毒防疫信息平台",
"homepage": "https://wuhan2020.kaiyuanshe.cn/",
"repository": {
"type": "git",
"url": "git+https://github.com/wuhan2020/WebApp.git"
},
"bugs": {
"url": "https://github.com/EasyWebApp/wuhan2020/issues"
},
"dependencies": {
"boot-cell": "^2.0.0-beta.29",
"browser-unhandled-rejection": "^1.0.2",
"cell-router": "^3.0.0-rc.8",
"classnames": "^2.5.1",
"dom-renderer": "^2.4.4",
"echarts": "^5.5.1",
"echarts-jsx": "^1.2.1",
"github-web-widget": "^4.0.0",
"koajax": "^3.0.3",
"mobx": "^6.13.5",
"mobx-github": "^0.3.5",
"mobx-restful": "^2.0.0",
"web-cell": "^3.0.1",
"web-utility": "^4.4.2"
},
"devDependencies": {
"@eslint/compat": "^1.2.2",
"@eslint/js": "^9.14.0",
"@parcel/config-default": "~2.12.0",
"@parcel/packager-raw-url": "~2.12.0",
"@parcel/transformer-less": "~2.12.0",
"@parcel/transformer-typescript-tsc": "~2.12.0",
"@parcel/transformer-webmanifest": "~2.12.0",
"@softonus/prettier-plugin-duplicate-remover": "^1.0.1",
"@types/eslint-config-prettier": "^6.11.3",
"@types/node": "^20.17.6",
"buffer": "^6.0.3",
"cross-env": "^7.0.3",
"eslint": "^9.14.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-react": "^7.37.2",
"eslint-plugin-simple-import-sort": "^12.1.1",
"globals": "^15.12.0",
"husky": "^9.1.6",
"lint-staged": "^15.2.10",
"parcel": "~2.12.0",
"parcel-transformer-markdown": "^3.0.1",
"postcss": "^8.4.47",
"prettier": "^3.3.3",
"prettier-plugin-css-order": "^2.1.2",
"process": "^0.11.10",
"rimraf": "^6.0.1",
"tsx": "^4.19.2",
"typescript": "~5.6.3",
"typescript-eslint": "^8.13.0",
"workbox-cli": "^7.3.0"
},
"prettier": {
"singleQuote": true,
"trailingComma": "none",
"arrowParens": "avoid",
"tabWidth": 4,
"overrides": [
{
"files": "*.yml",
"options": {
"tabWidth": 2
}
}
],
"plugins": [
"prettier-plugin-css-order",
"@softonus/prettier-plugin-duplicate-remover"
]
},
"lint-staged": {
"*.{html,md,less,json,yml,js,mjs,ts,tsx}": "prettier --write",
"*.{js,mjs,ts,tsx}": "eslint --fix"
},
"browserslist": "> 0.5%, last 2 versions, not dead, IE 11",
"scripts": {
"prepare": "husky",
"test": "lint-staged && tsc --noEmit",
"clean": "rimraf .parcel-cache/ dist/",
"start:local": "npm run clean && cross-env HTTP_ENV=local parcel source/index.html --open",
"start:remote": "npm run clean && cross-env HTTP_ENV=remote parcel source/index.html --open",
"start": "npm run clean && cross-env HTTP_ENV=test parcel source/index.html --open",
"pack-dist": "parcel build source/index.html --public-url . --no-source-maps && tsx fix-script",
"pack-sw": "rm -f dist/sw.js.map && workbox generateSW",
"build": "npm run clean && npm run pack-dist && npm run pack-sw"
}
}