-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
49 lines (49 loc) · 1.33 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
{
"name": "typescript-starter",
"version": "0.1.0",
"private": true,
"dependencies": {
"@types/react-redux": "^6.0.10",
"@types/webpack-env": "^1.13.6",
"antd": "^3.10.9",
"react": "^16.6.3",
"react-dom": "^16.6.3",
"react-redux": "^5.1.1",
"react-scripts-ts": "3.1.0",
"redux": "^4.0.1"
},
"scripts": {
"start": "react-scripts-ts start",
"build": "react-scripts-ts build",
"test": "react-scripts-ts test --env=jsdom",
"eject": "react-scripts-ts eject",
"lint": "tslint ./src/**/*.{ts,tsx} --fix",
"precommit": "lint-staged",
"prettier": "prettier \"src/**/*.{ts,tsx,json,md}\""
},
"devDependencies": {
"@types/enzyme": "^3.1.15",
"@types/enzyme-adapter-react-16": "^1.0.3",
"@types/jest": "^23.3.9",
"@types/node": "^10.12.10",
"@types/react": "^16.7.7",
"@types/react-dom": "^16.0.10",
"enzyme": "^3.7.0",
"enzyme-adapter-react-16": "^1.7.0",
"husky": "^1.2.0",
"lint-staged": "^8.1.0",
"prettier": "^1.15.2",
"react-test-renderer": "^16.6.3",
"tslint-config-prettier": "^1.16.0",
"tslint-eslint-rules": "^5.4.0",
"tslint-react": "^3.6.0",
"typescript": "^3.1.6"
},
"lint-staged": {
"src/**/*.{ts,tsx,json}": [
"prettier --write",
"tslint ./src/**/*.{ts,tsx} --fix",
"git add"
]
}
}