- 修改 config/index.ts 中的 projectName 为 shop-taro - 更新 package.json 中的 name 字段为 shop-taro - 调整 project.config.json 中的 description 和 projectname 为 shop-taro - 修改 README.md 中的项目目录名称为 shop-taro
91 lines
2.9 KiB
JSON
91 lines
2.9 KiB
JSON
{
|
|
"name": "shop-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"
|
|
}
|
|
}
|