-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpackage.json
More file actions
148 lines (148 loc) · 5.36 KB
/
Copy pathpackage.json
File metadata and controls
148 lines (148 loc) · 5.36 KB
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
{
"name": "ecshopx-vshop",
"app_name": "ecshopx",
"version": "4.17.0",
"private": true,
"description": "taro app for bbc",
"scripts": {
"clean": "rm -rf node_modules/.cache",
"lint": "prettier-eslint 'src/**/*.{js,jsx}' --write",
"build:weapp": "taro build --type weapp --trace-warnings",
"build:weapp:live": "cross-env APP_LIVE=true taro build --type weapp --trace-warnings",
"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:app": "cross-env TARGET=app taro build --type h5",
"build:app:server": "cross-env TARGET=app SERVER=server taro build --type h5",
"dev:weapp": "npm run build:weapp -- --watch",
"dev:weapp:i18n": "npm run build:weapp -- --watch --i18n",
"dev:weapp:live": "APP_LIVE=true npm run build:weapp -- --watch",
"dev:weapp:modules": "TARO_MODULES=true npm run build:weapp -- --watch",
"dev:weapp:prd": "cross-env BUILD_ENV=prd 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:h5:i18n": "npm run build:h5 -- --watch --i18n",
"dev:app": "TARGET=app npm run build:h5 -- --watch",
"dev:rn": "npm run build:rn -- --watch",
"eslint:comment": "使用EsLint检查并自动修复src目录下所有扩展名为.js和.jsx",
"eslint": "eslint --ext .js,.jsx --ignore-path .eslintignore --fix src",
"prettier:comment": "自动格式化当前目录下的所有文件",
"prettier": "prettier --write 'src/**/*.{js,jsx}'",
"commit:comment": "引导设置规范化的提交信息",
"commit": "git-cz",
"husky": "npx husky install",
"husky:add": "npx husky add .husky/pre-commit 'npx --no-install lint-staged' & npx husky add .husky/commit-msg 'npx --no-install commitlint --edit \"$1\"'",
"sync:ai-widget": "cp -v ${AI_WIDGET_DIST:-$HOME/data/httpd/ecx/Java/ai-assistant/ai-assistant-widget/dist}/widget-h5.js src/files/ai-assistant-embed/widget-h5.js",
"i18n:keys": "python3 .cursor/skills/i18n-translate/scripts/gen_i18n_key.py",
"i18n:check": "python3 .cursor/skills/i18n-translate/scripts/check_i18n_keys.py --src src --locales src/i18n/locales"
},
"author": "",
"engines": {
"node": "16.16.0"
},
"browsers": [
"last 3 versions",
"Android >= 4.1",
"ios >= 8"
],
"dependencies": {
"@babel/runtime": "^7.14.5",
"@lucky-canvas/taro": "^0.0.15",
"@reduxjs/toolkit": "^1.9.5",
"@tarojs/components": "3.6.25",
"@tarojs/components-advanced": "3.6.25",
"@tarojs/helper": "3.6.25",
"@tarojs/plugin-framework-react": "3.6.25",
"@tarojs/plugin-inject": "3.6.25",
"@tarojs/plugin-platform-alipay": "3.6.25",
"@tarojs/plugin-platform-h5": "3.6.25",
"@tarojs/plugin-platform-jd": "3.6.25",
"@tarojs/plugin-platform-qq": "3.6.25",
"@tarojs/plugin-platform-swan": "3.6.25",
"@tarojs/plugin-platform-tt": "3.6.25",
"@tarojs/plugin-platform-weapp": "3.6.25",
"@tarojs/react": "3.6.25",
"@tarojs/runtime": "3.6.25",
"@tarojs/shared": "3.6.25",
"@tarojs/taro": "3.6.25",
"big.js": "^6.2.1",
"chalk": "^4.1.2",
"copy-to-clipboard": "^3.3.3",
"cross-env": "^10.0.0",
"husky": "^7.0.4",
"i18next": "^25.10.10",
"immer": "^9.0.0",
"js-md5": "^0.8.3",
"lite-pos-plugin-mate": "^1.0.1",
"lodash": "^4.17.21",
"mini-html-parser2": "^0.3.0",
"mp-html": "^2.4.0",
"process": "^0.11.10",
"qrcode": "^1.5.3",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-i18next": "^17.0.0",
"react-redux": "^8.1.2",
"redux-logger": "^3.0.6",
"redux-persist": "^6.0.0",
"sr-sdk-wxapp": "^2.1.1",
"taro-ui": "3.0.0-alpha.10",
"use-immer": "^0.9.0"
},
"devDependencies": {
"@babel/core": "^7.8.0",
"@commitlint/cli": "^17.6.5",
"@commitlint/config-conventional": "^17.6.5",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.5",
"@tarojs/cli": "3.6.25",
"@tarojs/mini-runner": "3.6.25",
"@tarojs/taro-loader": "3.6.25",
"@tarojs/test-utils-react": "^0.1.1",
"@tarojs/webpack5-runner": "3.6.25",
"@types/jest": "^29.3.1",
"@types/node": "^18.15.11",
"@types/react": "^18.0.0",
"@types/webpack-env": "^1.13.6",
"babel-preset-taro": "3.6.25",
"commitizen": "^4.3.0",
"commitlint-config-cz": "^0.13.3",
"cz-conventional-changelog": "^3.3.0",
"cz-customizable": "^7.0.0",
"dotenv-flow": "^4.1.0",
"eslint": "^8.12.0",
"eslint-config-taro": "3.6.25",
"eslint-plugin-import": "^2.12.0",
"eslint-plugin-react": "^7.8.2",
"eslint-plugin-react-hooks": "^4.2.0",
"f2e-ai": "^0.1.4",
"jest": "^29.3.1",
"jest-environment-jsdom": "^29.5.0",
"lint-staged": "^13.2.2",
"postcss": "^8.4.18",
"postcss-cli": "^11.0.0",
"prettier": "^2.8.8",
"react-refresh": "^0.11.0",
"stylelint": "^14.4.0",
"ts-node": "^10.9.1",
"webpack": "5.78.0",
"webpack-bundle-analyzer": "^4.10.2"
},
"config": {
"commitizen": {
"path": "node_modules/cz-customizable"
}
},
"lint-staged": {
"*.{js,jsx}": [
"eslint --fix --ignore-path .eslintignore",
"prettier --write"
],
"*.scss": [
"prettier --write"
]
}
}