-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
91 lines (91 loc) · 2.65 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
{
"name": "taro-express-mysql-combat",
"version": "1.0.0",
"private": true,
"description": "taro3实现完整出行OTA项目,Express写服务端,Mysql数据库,兼容四大端小程序以及H5",
"templateInfo": {
"name": "default",
"typescript": false,
"css": "sass"
},
"scripts": {
"build:weapp": "taro build --type weapp",
"build:swan": "taro build --type swan",
"build:alipay": "taro build --type alipay",
"build:tt": "taro build --type tt",
"build:h5": "taro build --type h5",
"build:rn": "taro build --type rn",
"build:qq": "taro build --type qq",
"build:jd": "taro build --type jd",
"build:quickapp": "taro build --type quickapp",
"dev:weapp": "npm run build:weapp -- --watch",
"dev:swan": "npm run build:swan -- --watch",
"dev:alipay": "npm run build:alipay -- --watch",
"dev:tt": "npm run build:tt -- --watch",
"dev:h5": "npm run build:h5 -- --watch",
"dev:rn": "npm run build:rn -- --watch",
"dev:qq": "npm run build:qq -- --watch",
"dev:jd": "npm run build:jd -- --watch",
"dev:quickapp": "npm run build:quickapp -- --watch",
"server": "nodemon ./server/index.js",
"lint": "eslint --ext .js,.tsx,.ts,.jsx src"
},
"browserslist": [
"last 3 versions",
"Android >= 4.1",
"ios >= 8"
],
"author": "",
"dependencies": {
"@babel/runtime": "^7.7.7",
"@tarojs/components": "3.3.3",
"@tarojs/react": "3.3.3",
"@tarojs/runtime": "3.3.3",
"@tarojs/taro": "3.3.3",
"dva": "^2.4.1",
"dva-core": "^2.0.4",
"dva-loading": "^3.0.22",
"express": "^4.17.1",
"mysql2": "^2.3.0",
"react": "^17.0.0",
"react-dom": "^17.0.0",
"react-redux": "7.2.0"
},
"devDependencies": {
"@babel/core": "^7.8.0",
"@babel/eslint-parser": "^7.15.0",
"@tarojs/mini-runner": "3.3.3",
"@tarojs/webpack-runner": "3.3.3",
"@types/react": "^17.0.2",
"@types/webpack-env": "^1.13.6",
"axios": "^0.21.1",
"babel-preset-taro": "3.3.3",
"body-parser": "^1.19.0",
"cookie-parser": "^1.4.5",
"dayjs": "^1.10.6",
"eslint": "^7.18.0",
"eslint-config-taro": "3.3.3",
"eslint-plugin-import": "^2.12.0",
"eslint-plugin-react": "^7.8.2",
"eslint-plugin-react-hooks": "^4.2.0",
"express-session": "^1.17.2",
"husky": "^4.2.3",
"lint-staged": "^8.0.3",
"prop-types": "^15.7.2",
"stylelint": "9.3.0",
"taro-skeleton": "^2.0.4",
"taro-ui": "^3.0.0-alpha.3",
"typescript": "^4.3.5"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.{js,ts,tsx,jsx}": [
"eslint --quiet --cache --fix",
"git add"
]
}
}