-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
75 lines (75 loc) · 2.28 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
{
"name": "h5-demo",
"version": "1.0.0",
"private": true,
"type": "module",
"scripts": {
"build": "tsc && vite build",
"dev": "vite",
"lint": "eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"lint-staged:js": "eslint --ext .js,.jsx,.ts,.tsx ",
"openapi": "cross-env hote_travel=http://10.10.111.11:4040 pnpm run pnpmopenapi",
"openapi:pre": "cross-env hote_travel=http:/10.10.111.11:4040 pnpm run pnpmopenapi",
"pnpmopenapi": "ts-node config/openapi.config.ts",
"prettier": "prettier -c --write \"**/**.{js,jsx,tsx,ts,less,md,json}\"",
"preview": "vite preview",
"start": "cross-env hote_travel=http://10.10.111.11:4040/ vite",
"start:pre": "cross-env api_url=http://10.10.111.11:4000/ vite"
},
"husky": {
"hooks": {
"pre-commit": "cd .husky && ./pre-commit",
"commit-msg": "cd .husky && ./commit-msg"
}
},
"lint-staged": {
"**/*.{js,jsx,ts,tsx}": "npm run lint-staged:js",
"**/*.{js,jsx,tsx,ts,less,md,json}": [
"prettier --write"
]
},
"dependencies": {
"@react-vant/icons": "^0.0.10",
"ali-oss": "^6.18.0",
"axios": "^1.4.0",
"classnames": "^2.3.2",
"crypto-js": "^4.1.1",
"dayjs": "^1.11.9",
"http-proxy-middleware": "^2.0.6",
"react": "^18.2.0",
"react-activation": "^0.12.4",
"react-dom": "^18.2.0",
"react-iframe": "^1.8.5",
"react-router-dom": "^6.15.0",
"react-transition-group": "^4.4.5",
"react-vant": "^3.3.1",
"uuid": "^9.0.0"
},
"devDependencies": {
"@babel/core": "^7.22.10",
"@babel/preset-env": "^7.22.10",
"@types/ali-oss": "^6.16.8",
"@types/crypto-js": "^4.1.1",
"@types/node": "^20.5.1",
"@types/react": "^18.2.20",
"@types/react-dom": "^18.2.7",
"@types/react-transition-group": "^4.4.6",
"@types/uuid": "^9.0.2",
"@umijs/fabric": "^4.0.1",
"@umijs/lint": "^4.0.76",
"@umijs/openapi": "1.8.5",
"@vitejs/plugin-react-swc": "^3.3.2",
"autoprefixer": "^10.4.15",
"cross-env": "^7.0.3",
"eslint": "^8.47.0",
"husky": "^8.0.3",
"less": "^4.2.0",
"lint-staged": "^13.3.0",
"prettier": "^3.0.2",
"tailwindcss": "^3.3.3",
"ts-node": "^10.9.1",
"typescript": "^5.1.6",
"vite": "^4.4.9",
"vite-plugin-babel": "^1.1.3"
}
}