-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
85 lines (85 loc) · 2.05 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
{
"name": "master-platform-ant-ui",
"version": "0.1.0",
"private": true,
"dependencies": {
"@ant-design/icons": "4.6.4",
"@craco/craco": "^6.4.0",
"@testing-library/jest-dom": "5.14.1",
"@testing-library/react": "11.2.7",
"@testing-library/user-event": "12.8.3",
"antd": "4.16.13",
"axios": "0.21.1",
"craco-less": "^1.20.0",
"date-fns": "2.23.0",
"formik": "2.2.9",
"i18next": "20.4.0",
"marked": "3.0.1",
"prop-types": "15.7.2",
"react": "17.0.2",
"react-dom": "17.0.2",
"react-i18next": "11.11.4",
"react-query": "3.21.0",
"react-router-dom": "5.2.0",
"react-scripts": "4.0.3",
"web-vitals": "1.1.2"
},
"scripts": {
"start": "craco start",
"build": "craco build",
"test": "craco test",
"eject": "react-scripts eject",
"lint": "eslint './src/**/*.{js,jsx}'",
"lint:fix": "eslint './src/**/*.{js,jsx}' --fix",
"format": "prettier --write \"**/*.{js,jsx,json,md}\"",
"prepare": "husky install",
"cm": "cz"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"jest": {
"transformIgnorePatterns": [
"/node_modules/(?!antd|@ant-design|rc-.+?|@babel/runtime).+(js|jsx)$"
]
},
"devDependencies": {
"@commitlint/cli": "13.2.0",
"commitizen": "4.2.4",
"commitlint-config-gitmoji": "2.2.5",
"cz-customizable": "6.3.0",
"eslint": "7.32.0",
"eslint-config-prettier": "8.3.0",
"eslint-plugin-prettier": "4.0.0",
"eslint-plugin-react": "7.25.3",
"husky": "7.0.2",
"less": "^4.1.2",
"less-loader": "^10.2.0",
"lint-staged": "11.1.2",
"prettier": "2.4.1"
},
"config": {
"commitizen": {
"path": "cz-customizable"
}
},
"lint-staged": {
"*.{js,jsx}": "eslint src/",
"*.{js,jsx,json,css,md}": "prettier --write"
}
}