- 新增地址编辑页面,支持地址智能识别、地图选点、地区选择和默认地址设置 - 实现地址列表页面,支持地址查看、删除、设为默认及选择返回结算页 - 新增售后申请页面,支持退款类型选择、商品选择、原因填写、图片上传和提交审核 - 修复 passport 分包配置,移除不存在分包并补充缺失声明,避免 Taro 编译报错 - 新增地址类型定义,增强前端地址数据结构类型安全 - 优化页面交互体验,完善表单校验及错误提示逻辑 - 统一代码格式与命名规范,保持代码风格一致性
91 lines
2.9 KiB
JSON
91 lines
2.9 KiB
JSON
{
|
|
"name": "websopy-taro",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"description": "Taro + React + TypeScript 项目框架",
|
|
"browserslist": [
|
|
"last 3 versions",
|
|
"Android >= 4.1",
|
|
"ios >= 8"
|
|
],
|
|
"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",
|
|
"lint": "eslint src --fix --ext .ts,.tsx",
|
|
"type-check": "tsc --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"@nutui/icons-react-taro": "^2.0.1",
|
|
"@nutui/nutui-biz": "1.0.0-beta.2",
|
|
"@nutui/nutui-react": "^3.0.16",
|
|
"@nutui/nutui-react-taro": "2.7.4",
|
|
"@tarojs/components": "4.1.11",
|
|
"@tarojs/plugin-framework-react": "4.1.11",
|
|
"@tarojs/plugin-platform-h5": "4.0.8",
|
|
"@tarojs/plugin-platform-weapp": "4.1.11",
|
|
"@tarojs/react": "4.1.11",
|
|
"@tarojs/runtime": "4.1.11",
|
|
"@tarojs/shared": "4.1.11",
|
|
"@tarojs/taro": "4.1.11",
|
|
"crypto-js": "^4.2.0",
|
|
"dayjs": "^1.11.13",
|
|
"echarts-taro3-react": "^1.0.13",
|
|
"js-base64": "^3.7.7",
|
|
"react": "18.3.1",
|
|
"react-dom": "18.3.1",
|
|
"react-markdown": "^10.1.0",
|
|
"react-router-dom": "^7.1.1",
|
|
"weapp-qrcode": "^1.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.26.0",
|
|
"@babel/plugin-proposal-class-properties": "^7.18.6",
|
|
"@babel/preset-react": "^7.26.0",
|
|
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.15",
|
|
"@tarojs/cli": "4.1.11",
|
|
"@tarojs/taro-loader": "4.1.11",
|
|
"@tarojs/webpack5-runner": "4.1.11",
|
|
"@types/node": "^18.19.68",
|
|
"@types/react": "^18.3.12",
|
|
"@types/webpack-env": "^1.18.5",
|
|
"@typescript-eslint/eslint-plugin": "^8.15.0",
|
|
"@typescript-eslint/parser": "^8.15.0",
|
|
"autoprefixer": "^10.4.20",
|
|
"babel-preset-taro": "4.0.8",
|
|
"eslint": "^8.56.0",
|
|
"eslint-config-taro": "4.0.8",
|
|
"eslint-plugin-import": "^2.31.0",
|
|
"eslint-plugin-react": "^7.37.2",
|
|
"eslint-plugin-react-hooks": "^4.6.2",
|
|
"mysql2": "^3.22.3",
|
|
"postcss": "^8.4.49",
|
|
"react-refresh": "^0.14.0",
|
|
"stylelint": "^14.16.1",
|
|
"tailwindcss": "3.4.17",
|
|
"ts-node": "^10.9.2",
|
|
"tsconfig-paths-webpack-plugin": "^4.2.0",
|
|
"typescript": "5.7.2",
|
|
"weapp-tailwindcss": "^4.12.0",
|
|
"webpack": "5.78.0"
|
|
},
|
|
"engines": {
|
|
"node": ">=18"
|
|
}
|
|
}
|