-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
191 lines (191 loc) · 5.94 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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
{
"name": "_boot-taro-react_",
"version": "1.0.0",
"private": true,
"packageManager": "[email protected]",
"description": "_boot-taro-react_",
"templateInfo": {
"name": "default",
"typescript": true,
"css": "Sass",
"framework": "React"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
],
"rules": {
"type-enum": [
2,
"always",
[
"feat",
"ci",
"fix",
"style",
"chore",
"typings",
"docs",
"perf",
"refactor",
"revert",
"test"
]
]
}
},
"config": {
"commitizen": {
"path": "node_modules/cz-conventional-changelog",
"types": {
"feat": {
"description": "新功能(feature)"
},
"fix": {
"description": "修补bug"
},
"ci": {
"description": "持续集成新增"
},
"style": {
"description": "格式(不影响代码运行的变动)"
},
"chore": {
"description": "构建过程或辅助工具的变动"
},
"typings": {
"description": "Typescript 类型错误"
},
"docs": {
"description": "文档(documentation)"
},
"perf": {
"description": "性能优化"
},
"refactor": {
"description": "重构(既不是新增功能,也不是修改bug的代码变动)"
},
"revert": {
"description": "撤销上一次的 commit"
},
"test": {
"description": "增加或修改测试用例"
}
}
}
},
"author": "",
"scripts": {
"build:weapp": "taro build --type weapp --env-prefix TARO_",
"build:swan": "taro build --type swan --env-prefix TARO_",
"build:alipay": "taro build --type alipay --env-prefix TARO_",
"build:tt": "taro build --type tt --env-prefix TARO_",
"build:h5": "taro build --type h5 --env-prefix TARO_",
"build:rn": "taro build --type rn --env-prefix TARO_",
"build:qq": "taro build --type qq --env-prefix TARO_",
"build:jd": "taro build --type jd --env-prefix TARO_",
"build:quickapp": "taro build --type quickapp --env-prefix TARO_",
"build:harmony-hybrid": "taro build --type harmony-hybrid --env-prefix TARO_",
"dev:weapp": "npm run build:weapp -- --watch --env-prefix TARO_",
"dev:swan": "npm run build:swan -- --watch --env-prefix TARO_",
"dev:alipay": "npm run build:alipay -- --watch --env-prefix TARO_",
"dev:tt": "npm run build:tt -- --watch --env-prefix TARO_",
"dev:h5": "npm run build:h5 -- --watch --env-prefix TARO_",
"dev:rn": "npm run build:rn -- --watch --env-prefix TARO_",
"dev:qq": "npm run build:qq -- --watch --env-prefix TARO_",
"dev:jd": "npm run build:jd -- --watch --env-prefix TARO_",
"dev:quickapp": "npm run build:quickapp -- --watch --env-prefix TARO_",
"dev:harmony-hybrid": "npm run build:harmony-hybrid -- --watch --env-prefix TARO_",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"test": "jest",
"prepare": "npx husky",
"preinstall": "npx only-allow pnpm"
},
"browserslist": [
"last 3 versions",
"Android >= 4.1",
"ios >= 8"
],
"dependencies": {
"@babel/runtime": "^7.26.0",
"@kirklin/reset-css": "^0.0.6",
"@tanstack/react-query": "^5.62.3",
"@taro-hooks/plugin-react": "^2.1.0",
"@taroify/core": "0.6.3-alpha.0",
"@taroify/icons": "0.6.3-alpha.0",
"@tarojs/components": "4.0.9",
"@tarojs/helper": "4.0.9",
"@tarojs/plugin-framework-react": "4.0.9",
"@tarojs/plugin-platform-alipay": "4.0.9",
"@tarojs/plugin-platform-h5": "4.0.9",
"@tarojs/plugin-platform-harmony-hybrid": "4.0.9",
"@tarojs/plugin-platform-jd": "4.0.9",
"@tarojs/plugin-platform-qq": "4.0.9",
"@tarojs/plugin-platform-swan": "4.0.9",
"@tarojs/plugin-platform-tt": "4.0.9",
"@tarojs/plugin-platform-weapp": "4.0.9",
"@tarojs/react": "4.0.9",
"@tarojs/runtime": "4.0.9",
"@tarojs/shared": "4.0.9",
"@tarojs/taro": "4.0.9",
"abortcontroller-polyfill": "^1.7.6",
"dayjs": "^1.11.13",
"event-target-polyfill": "^0.0.4",
"lodash-es": "^4.17.21",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"sr-sdk-wxapp": "^2.1.1",
"taro-hooks": "^2.1.0",
"yet-another-abortcontroller-polyfill": "^0.0.4"
},
"devDependencies": {
"@babel/core": "^7.26.0",
"@commitlint/cli": "^19.6.0",
"@commitlint/config-conventional": "^19.6.0",
"@iconify/json": "^2.2.280",
"@kirklin/eslint-config": "^2.8.0",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.15",
"@tarojs/cli": "4.0.9",
"@tarojs/plugin-html": "^4.0.9",
"@tarojs/taro-loader": "4.0.9",
"@tarojs/test-utils-react": "^0.1.1",
"@tarojs/webpack5-runner": "4.0.9",
"@types/jest": "^29.5.14",
"@types/lodash-es": "^4.17.12",
"@types/node": "^22.10.1",
"@types/react": "^18.3.5",
"@types/webpack-env": "^1.18.5",
"@typescript-eslint/eslint-plugin": "^8.17.0",
"@typescript-eslint/parser": "^8.17.0",
"@unocss/eslint-plugin": "^0.65.1",
"@unocss/webpack": "^0.61.0",
"babel-plugin-import": "^1.13.8",
"babel-preset-taro": "4.0.9",
"commitizen": "^4.3.1",
"cross-env": "^7.0.3",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^9.16.0",
"eslint-config-taro": "4.0.9",
"eslint-plugin-format": "^0.1.3",
"husky": "^9.1.7",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"lint-staged": "^15.2.10",
"postcss": "^8.4.49",
"react-refresh": "^0.16.0",
"stylelint": "^16.11.0",
"terser-webpack-plugin": "^5.3.10",
"ts-node": "^10.9.2",
"tsconfig-paths-webpack-plugin": "^4.2.0",
"typescript": "^5.7.2",
"unocss": "^0.61.0",
"unocss-applet": "^0.8.2",
"unocss-preset-chinese": "^0.3.2",
"unocss-preset-ease": "^0.0.3",
"webpack": "5.94.0"
},
"lint-staged": {
"**/*": "eslint --fix"
}
}