Files
ECShopX_mobile-frontend/package.json
2026-05-09 16:23:39 +08:00

143 lines
4.9 KiB
JSON

{
"name": "ecshopx-vshop",
"app_name": "ecshopx",
"version": "4.5.5",
"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\"'"
},
"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",
"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.4",
"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",
"webpack-auto-i18n-plugin": "^1.1.8"
},
"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,scss}": [
"npm run eslint",
"npm run prettier"
]
}
}