-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
77 lines (77 loc) · 2.21 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
{
"name": "bjtu-papms",
"version": "1.0.0",
"private": true,
"scripts": {
"test": "umi test",
"start": "umi dev",
"build": "umi build",
"precommit": "lint-staged",
"serve": "cross-env SERVE=1 umi-serve",
"pull:hg": "cd .. && hg pull && hg update",
"start:mock": "cross-env UMI_ENV=serve umi dev",
"lint:front": "tslint --project . -c tslint.yml",
"lint:back": "cd ./serve && npm run lint && cd ..",
"lint": "npm run lint:front && npm run lint:back",
"push:hg": "cd .. && hg add . && hg commit -m \"update\" && hg push",
"clean": "rm -r src/pages/.umi && rm -r node_modules/.cache",
"clean:win": "del /Q /S src\\pages\\.umi && del /Q /S node_modules\\.cache"
},
"dependencies": {
"antd": "3.15.2",
"classnames": "~2.2.6",
"debounce": "1.2.0",
"dva": "~2.5.0-beta.2",
"memoize-one": "5.0.0",
"path-to-regexp": "3.3.0",
"rc-queue-anim": "~1.6.11",
"react-infinite-scroller": "^1.2.4",
"react-media-hook2": "^1.0.0"
},
"devDependencies": {
"@types/classnames": "~2.2.7",
"@types/debounce": "1.2.0",
"@types/jest": "^23.3.12",
"@types/memoize-one": "~4.1.0",
"@types/react": "~16.8.3",
"@types/react-dom": "~16.8.1",
"@types/react-infinite-scroller": "^1.2.1",
"@types/react-test-renderer": "^16.0.3",
"babel-eslint": "^9.0.0",
"cross-env": "^5.2.0",
"eslint": "^5.4.0",
"eslint-config-umi": "^1.4.0",
"eslint-plugin-flowtype": "^2.50.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-jsx-a11y": "^5.1.1",
"eslint-plugin-react": "^7.11.1",
"husky": "^0.14.3",
"lint-staged": "^7.2.2",
"react-test-renderer": "^16.7.0",
"tslint": "^5.12.0",
"tslint-eslint-rules": "^5.4.0",
"tslint-react": "^3.6.0",
"umi": "~2.5.4",
"umi-plugin-nprogress": "^1.1.6",
"umi-plugin-react": "~1.5.2",
"umi-serve": "~1.0.3",
"umi-types": "~0.1.2"
},
"lint-staged": {
"{config,mock}/**/*.{js,jsx}": [
"eslint --fix",
"git add"
],
"src/**/*.{ts,tsx}": [
"tslint --fix",
"git add"
],
"serve/{app,config,middleware}/**/*.{ts,tsx}": [
"tslint --fix",
"git add"
]
},
"engines": {
"node": ">=8.0.0"
}
}