-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
97 lines (97 loc) · 2.76 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": "craco-template",
"version": "0.1.0",
"private": true,
"dependencies": {
"@reduxjs/toolkit": "^1.8.0",
"antd": "^4.13.1",
"lodash": "^4.17.21",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"react-redux": "^7.2.6",
"react-router-dom": "^5.2.0",
"umi-request": "^1.3.5",
"web-vitals": "^1.0.1"
},
"scripts": {
"start": "nodemon -w ./config/craco.config.js -w ./style/antd.customize.less --exec \"FAST_REFRESH=true craco start\"",
"build": "npm run lint && craco build",
"test": "craco test",
"lint": "eslint --ext .js,.jsx,ts,tsx src/ && stylelint src/**/*.css",
"lint:fix": "eslint --fix --ext .js,.jsx,ts,tsx src/ && stylelint src/**/*.css --fix"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"cracoConfig": "config/craco.config.js",
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@babel/core": "^7.17.8",
"@babel/preset-env": "^7.16.11",
"@craco/craco": "^6.1.1",
"@testing-library/jest-dom": "^5.11.4",
"@testing-library/react": "^11.1.0",
"@testing-library/user-event": "^12.1.10",
"@types/jest": "^27.4.1",
"@types/lodash": "^4.14.191",
"@types/node": "^17.0.23",
"@types/react": "^17.0.43",
"@types/react-dom": "^17.0.14",
"@types/react-redux": "^7.1.23",
"@types/react-router-dom": "^5.3.3",
"@typescript-eslint/eslint-plugin": "^5.17.0",
"@typescript-eslint/parser": "^5.17.0",
"autoprefixer": "^9",
"babel-plugin-import": "^1.13.3",
"core-js": "^3.21.1",
"craco-antd": "^1.19.0",
"eslint": "^7.21.0",
"eslint-config-airbnb": "^18.2.1",
"eslint-config-prettier": "^8.1.0",
"eslint-import-resolver-typescript": "^3.5.3",
"eslint-import-resolver-webpack": "^0.13.2",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-prettier": "^3.3.1",
"eslint-plugin-react": "^7.22.0",
"eslint-plugin-react-hooks": "^4.2.0",
"husky": "^4.3.8",
"lint-staged": "^10.5.4",
"nodemon": "^2.0.7",
"postcss": "^7",
"prettier": "^2.2.1",
"react-scripts": "4.0.3",
"stylelint": "^13.11.0",
"stylelint-config-standard": "^20.0.0",
"tailwindcss": "npm:@tailwindcss/postcss7-compat",
"typescript": "^4.6.3",
"webpackbar": "^5.0.0-3"
},
"resolutions": {
"react-error-overlay": "6.0.9"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "node script/verify-commit.js",
"pre-test": "npm test"
}
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx}": "eslint"
}
}