forked from kirklin/boot-taro-react
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
186 lines (186 loc) · 5.35 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
{
"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",
"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",
"build:harmony-hybrid": "taro build --type harmony-hybrid",
"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",
"dev:harmony-hybrid": "npm run build:harmony-hybrid -- --watch",
"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.25.6",
"@kirklin/reset-css": "^0.0.6",
"@taro-hooks/plugin-react": "^2.1.0",
"@taroify/core": "0.4.0-alpha.0",
"@taroify/icons": "0.4.0-alpha.0",
"@tarojs/components": "4.0.5",
"@tarojs/helper": "4.0.5",
"@tarojs/plugin-framework-react": "4.0.5",
"@tarojs/plugin-platform-alipay": "4.0.5",
"@tarojs/plugin-platform-h5": "4.0.5",
"@tarojs/plugin-platform-harmony-hybrid": "4.0.5",
"@tarojs/plugin-platform-jd": "4.0.5",
"@tarojs/plugin-platform-qq": "4.0.5",
"@tarojs/plugin-platform-swan": "4.0.5",
"@tarojs/plugin-platform-tt": "4.0.5",
"@tarojs/plugin-platform-weapp": "4.0.5",
"@tarojs/react": "4.0.5",
"@tarojs/runtime": "4.0.5",
"@tarojs/shared": "4.0.5",
"@tarojs/taro": "4.0.5",
"dayjs": "^1.11.13",
"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"
},
"devDependencies": {
"@babel/core": "^7.25.2",
"@commitlint/cli": "^19.4.1",
"@commitlint/config-conventional": "^19.4.1",
"@iconify/json": "^2.2.257",
"@kirklin/eslint-config": "^2.7.0",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.15",
"@tarojs/cli": "4.0.5",
"@tarojs/plugin-html": "^4.0.5",
"@tarojs/taro-loader": "4.0.5",
"@tarojs/test-utils-react": "^0.1.1",
"@tarojs/webpack5-runner": "4.0.5",
"@types/jest": "^29.5.12",
"@types/lodash-es": "^4.17.12",
"@types/node": "^22.5.4",
"@types/react": "^18.3.5",
"@types/webpack-env": "^1.18.5",
"@typescript-eslint/eslint-plugin": "^8.4.0",
"@typescript-eslint/parser": "^8.4.0",
"@unocss/eslint-plugin": "^0.64.0",
"@unocss/webpack": "^0.61.0",
"babel-plugin-import": "^1.13.8",
"babel-preset-taro": "4.0.5",
"commitizen": "^4.3.0",
"cross-env": "^7.0.3",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^9.10.0",
"eslint-config-taro": "4.0.5",
"eslint-plugin-format": "^0.1.2",
"husky": "^9.1.5",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"lint-staged": "^15.2.10",
"postcss": "^8.4.45",
"react-refresh": "^0.14.2",
"stylelint": "^16.9.0",
"ts-node": "^10.9.2",
"tsconfig-paths-webpack-plugin": "^4.1.0",
"typescript": "^5.5.4",
"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"
}
}