-
Notifications
You must be signed in to change notification settings - Fork 0
/
template.json
59 lines (59 loc) · 1.59 KB
/
template.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
{
"package": {
"scripts": {
"start": "craco start",
"build": "craco build",
"test": "craco test"
},
"dependencies": {
"antd": "^4.16.10",
"history": "4.10.1",
"react-query": "^3.19.2",
"react-router-dom": "^5.2.0",
"styled-components": "^5.3.0",
"tailwindcss": "npm:@tailwindcss/postcss7-compat@^2.2.7"
},
"devDependencies": {
"@craco/craco": "^6.2.0",
"@testing-library/jest-dom": "^5.11.4",
"@testing-library/react": "^11.1.0",
"@testing-library/user-event": "^12.1.10",
"@types/history": "^4.7.9",
"@types/jest": "^26.0.15",
"@types/node": "^12.0.0",
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",
"@types/react-query": "^1.2.9",
"@types/react-router-dom": "^5.1.8",
"@types/styled-components": "^5.1.12",
"antd-dayjs-webpack-plugin": "^1.0.6",
"autoprefixer": "^9",
"babel-plugin-import": "^1.13.3",
"babel-plugin-styled-components": "^1.13.2",
"enhanced-resolve": "^5.8.2",
"husky": "^7.0.1",
"lint-staged": "^11.1.2",
"postcss": "^7",
"prettier": "^2.3.2",
"typescript": "^4.1.2",
"web-vitals": "^1.0.1",
"webpack-bundle-analyzer": "^4.4.2"
},
"eslintConfig": {
"extends": ["react-app", "react-app/jest"]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{ts,tsx,js,jsx,json,css,scss,less}": ["prettier --write", "git add"]
}
},
"tsconfg": {
"compilerOptions": {
"baseUrl": "src"
}
}
}