-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
107 lines (107 loc) · 3.26 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
103
104
105
106
107
{
"version": "1.0.0",
"name": "ks-h5",
"private": false,
"license": "ISC",
"author": "Hansen",
"scripts": {
"dev": "vite --port 7799 --mode development",
"test": "vite --port 7799 --mode test",
"build:test": "vite build --mode test",
"build": "vite build --mode development",
"serve": "vite preview",
"precommit": "lint-staged",
"precommit-msg": "echo 'Pre-commit checks...' && exit 0",
"prettier": "prettier -c --write 'src/*'",
"lint": "npm run lint:style && npm run lint:prettier",
"lint:fix": "eslint --cache --ext .js,.jsx,.ts,.tsx --no-error-on-unmatched-pattern --quiet --fix ./src",
"lint:style": "stylelint --fix \"src/**/*.less\" --syntax less",
"lint:prettier": "prettier --check 'src/*' --end-of-line auto",
"clean:cache": "rimraf node_modules/.cache/ && rimraf node_modules/.vite",
"lint-staged": "lint-staged",
"lint-staged:js": "eslint --ext .js,.jsx,.ts,.tsx "
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{jsx,less,md,json}": [
"prettier --write"
],
"*.ts?(x)": [
"prettier --parser=typescript --write"
]
},
"browserslist": [
"> 1%",
"last 2 versions",
"not ie <= 10"
],
"dependencies": {
"@react-vant/icons": "^0.0.11",
"@rematch/core": "^2.2.0",
"@types/leaflet": "^1.9.8",
"antd-mobile": "^5.33.0",
"antd-mobile-icons": "^0.3.0",
"axios": "^0.21.4",
"dayjs": "^1.11.10",
"history": "^5.3.0",
"leaflet": "^1.9.4",
"lib-flexible": "^0.3.2",
"lodash-es": "^4.17.21",
"qs": "^6.11.2",
"rc-table": "^7.36.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-player": "^2.13.0",
"react-redux": "^8.1.3",
"react-router-dom": "^6.9.0",
"react-transition-group": "^4.4.5",
"react-vant": "^3.3.2",
"vconsole": "^3.15.1"
},
"devDependencies": {
"@testing-library/react": "^12.1.5",
"@types/lodash-es": "^4.17.12",
"@types/node": "^16.18.21",
"@types/qs": "^6.9.10",
"@types/react": "^17.0.53",
"@types/react-dom": "^17.0.19",
"@types/react-transition-group": "^4.4.5",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0",
"@vitejs/plugin-legacy": "^4.0.2",
"@vitejs/plugin-react-swc": "^3.2.0",
"autoprefixer": "^10.4.14",
"consola": "^2.15.3",
"eslint": "^7.32.0",
"eslint-config-airbnb": "^18.2.1",
"eslint-config-prettier": "^8.8.0",
"eslint-config-standard": "^16.0.3",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-promise": "^5.2.0",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"less": "^4.1.3",
"less-vars-to-js": "^1.3.0",
"lint-staged": "^11.2.6",
"postcss": "^8.4.21",
"postcss-pxtorem": "^6.0.0",
"prettier": "^2.8.7",
"rollup-plugin-visualizer": "^5.9.0",
"stylelint": "^13.13.1",
"stylelint-config-standard": "^22.0.0",
"tailwindcss": "^3.2.7",
"terser": "^5.16.8",
"typescript": "^4.9.5",
"vite": "4.4.5",
"vite-plugin-compression2": "^0.8.2",
"vite-plugin-style-import": "^2.0.0",
"vite-plugin-windicss": "^1.8.10"
}
}