-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
54 lines (54 loc) · 1.26 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
{
"name": "umi-ts-template",
"version": "0.0.2",
"description": "",
"author": "",
"license": "ISC",
"scripts": {
"start": "umi dev",
"build": "umi build",
"fixstyle": "stylelint '**/*.(less|jsx)' --fix"
},
"dependencies": {
"axios": "^0.18.0",
"constate": "^1.1.1",
"immer": "^2.0.0",
"keyboardjs": "^2.5.1",
"react": "^16.8.2",
"react-dom": "^16.8.2",
"react-use": "^8.2.0",
"rebound": "^0.1.0",
"umi": "^2.6.16",
"umi-plugin-react": "^1.7.5"
},
"devDependencies": {
"@types/node": "^8.10.38",
"@types/react": "^16.8.3",
"babel-plugin-module-resolver": "^3.1.1",
"cross-env": "^5.2.0",
"husky": "^1.2.0",
"lint-staged": "^8.1.0",
"stylelint": "^9.8.0",
"stylelint-config-prettier": "^4.0.0",
"stylelint-config-standard": "^18.2.0",
"ts-jest-babel-7": "^22.0.7",
"tslint": "^5.11.0",
"tslint-config-airbnb": "^5.11.1",
"tslint-config-prettier": "^1.16.0",
"tslint-react": "^3.6.0",
"typescript": "^3.4.5"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"**/*.{ts,tsx,less}": [
"prettier --write",
"git add"
],
"**/*.{ts,tsx}": "tslint",
"**/*.less": "stylelint --syntax less"
}
}