forked from apache/inlong
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
102 lines (102 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
98
99
100
101
102
{
"name": "inlong",
"version": "0.1.0",
"private": true,
"dependencies": {
"@ant-design/icons": "^5.0.1",
"@ant-design/pro-layout": "^7.10.3",
"ahooks": "^2.10.0",
"antd": "^5.3.3",
"dayjs": "^1.10.4",
"echarts": "^5.2.2",
"i18next": "^20.3.1",
"lodash": "^4.17.21",
"nprogress": "^0.2.0",
"path-to-regexp": "^6.2.0",
"react": "17.0.1",
"react-dom": "17.0.1",
"react-i18next": "^11.10.0",
"react-redux": "^7.2.0",
"react-router-dom": "^5.2.0",
"redux": "^4.0.5",
"umi-request": "^1.4.0"
},
"scripts": {
"analyze": "source-map-explorer 'build/static/js/*.js'",
"dev": "npm start",
"start": "vite --host",
"build": "craco build",
"test": "craco test",
"commit": "git cz",
"prettier": "prettier --write 'src/**/*.{ts,tsx,js}'",
"eslint": "eslint --no-error-on-unmatched-pattern 'src/**/*.{ts,tsx,js}'",
"stylelint": "stylelint 'src/**/*.less' --custom-syntax postcss-less --allow-empty-input"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"lint-staged": {
"*.{ts,tsx}": [
"npm run eslint",
"npm run prettier"
],
"*.{less}": [
"npm run stylelint"
]
},
"pre-commit": "lint-staged",
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"devDependencies": {
"@craco/craco": "^7.0.0",
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/react": "^13.1.1",
"@testing-library/user-event": "^14.1.1",
"@types/craco__craco": "^6.4.0",
"@types/jest": "^27.4.1",
"@types/lodash": "^4.14.168",
"@types/node": "^13.13.5",
"@types/react": "^16.9.41",
"@types/react-dom": "^16.9.8",
"@types/react-redux": "^7.1.9",
"@types/react-router-dom": "^5.1.5",
"@vitejs/plugin-react": "^2.0.1",
"babel-plugin-import": "^1.13.5",
"craco-less": "^2.1.0-alpha.0",
"dotenv": "^16.0.3",
"eslint": "^8.22.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.2.1",
"http-proxy-middleware": "^1.0.1",
"husky": "^8.0.1",
"lint-staged": "^12.3.8",
"postcss": "^8.4.16",
"postcss-less": "^6.0.0",
"prettier": "^2.6.2",
"react-app-alias": "^2.2.2",
"react-scripts": "^5.0.1",
"source-map-explorer": "^2.5.2",
"stylelint": "^14.7.1",
"stylelint-config-prettier": "^9.0.3",
"stylelint-config-standard": "^28.0.0",
"typescript": "^4.7.4",
"vite": "^3.0.9",
"vite-plugin-dynamic-import": "^1.1.1",
"vite-plugin-eslint": "^1.8.1",
"vite-plugin-imp": "^2.2.0",
"vite-plugin-svgr": "^2.2.1",
"vite-tsconfig-paths": "^3.5.0"
}
}