|
|
@@ -11,6 +11,7 @@
|
|
|
},
|
|
|
"scripts": {
|
|
|
"prepare": "husky",
|
|
|
+ "postinstall": "weapp-tw patch",
|
|
|
"new": "taro new",
|
|
|
"build:weapp": "taro build --type weapp",
|
|
|
"build:swan": "taro build --type swan",
|
|
|
@@ -47,49 +48,52 @@
|
|
|
"@babel/runtime": "^7.24.4",
|
|
|
"@tarojs/components": "4.1.4",
|
|
|
"@tarojs/helper": "4.1.4",
|
|
|
- "@tarojs/plugin-platform-weapp": "4.1.4",
|
|
|
+ "@tarojs/plugin-framework-react": "4.1.4",
|
|
|
"@tarojs/plugin-platform-alipay": "4.1.4",
|
|
|
- "@tarojs/plugin-platform-tt": "4.1.4",
|
|
|
- "@tarojs/plugin-platform-swan": "4.1.4",
|
|
|
- "@tarojs/plugin-platform-jd": "4.1.4",
|
|
|
- "@tarojs/plugin-platform-qq": "4.1.4",
|
|
|
"@tarojs/plugin-platform-h5": "4.1.4",
|
|
|
"@tarojs/plugin-platform-harmony-hybrid": "4.1.4",
|
|
|
+ "@tarojs/plugin-platform-jd": "4.1.4",
|
|
|
+ "@tarojs/plugin-platform-qq": "4.1.4",
|
|
|
+ "@tarojs/plugin-platform-swan": "4.1.4",
|
|
|
+ "@tarojs/plugin-platform-tt": "4.1.4",
|
|
|
+ "@tarojs/plugin-platform-weapp": "4.1.4",
|
|
|
+ "@tarojs/react": "4.1.4",
|
|
|
"@tarojs/runtime": "4.1.4",
|
|
|
"@tarojs/shared": "4.1.4",
|
|
|
"@tarojs/taro": "4.1.4",
|
|
|
- "@tarojs/plugin-framework-react": "4.1.4",
|
|
|
- "@tarojs/react": "4.1.4",
|
|
|
- "react-dom": "^18.0.0",
|
|
|
- "react": "^18.0.0"
|
|
|
+ "react": "^18.0.0",
|
|
|
+ "react-dom": "^18.0.0"
|
|
|
},
|
|
|
"devDependencies": {
|
|
|
- "@tarojs/plugin-generator": "4.1.4",
|
|
|
+ "@babel/core": "^7.24.4",
|
|
|
+ "@babel/plugin-transform-class-properties": "7.25.9",
|
|
|
+ "@babel/preset-react": "^7.24.1",
|
|
|
"@commitlint/cli": "^19.8.1",
|
|
|
"@commitlint/config-conventional": "^19.8.1",
|
|
|
- "lint-staged": "^16.1.2",
|
|
|
- "husky": "^9.1.7",
|
|
|
- "stylelint-config-standard": "^38.0.0",
|
|
|
- "@babel/core": "^7.24.4",
|
|
|
+ "@pmmmwh/react-refresh-webpack-plugin": "^0.5.5",
|
|
|
"@tarojs/cli": "4.1.4",
|
|
|
- "@babel/plugin-transform-class-properties": "7.25.9",
|
|
|
- "@types/webpack-env": "^1.13.6",
|
|
|
- "@types/react": "^18.0.0",
|
|
|
- "webpack": "5.91.0",
|
|
|
+ "@tarojs/plugin-generator": "4.1.4",
|
|
|
"@tarojs/taro-loader": "4.1.4",
|
|
|
"@tarojs/webpack5-runner": "4.1.4",
|
|
|
+ "@types/node": "^18",
|
|
|
+ "@types/react": "^18.0.0",
|
|
|
+ "@types/webpack-env": "^1.13.6",
|
|
|
+ "autoprefixer": "^10.4.21",
|
|
|
"babel-preset-taro": "4.1.4",
|
|
|
- "eslint-config-taro": "4.1.4",
|
|
|
"eslint": "^8.57.0",
|
|
|
- "@pmmmwh/react-refresh-webpack-plugin": "^0.5.5",
|
|
|
- "react-refresh": "^0.14.0",
|
|
|
- "@babel/preset-react": "^7.24.1",
|
|
|
+ "eslint-config-taro": "4.1.4",
|
|
|
"eslint-plugin-react": "^7.34.1",
|
|
|
"eslint-plugin-react-hooks": "^4.4.0",
|
|
|
+ "husky": "^9.1.7",
|
|
|
+ "lint-staged": "^16.1.2",
|
|
|
+ "postcss": "^8.4.38",
|
|
|
+ "react-refresh": "^0.14.0",
|
|
|
"stylelint": "^16.4.0",
|
|
|
- "typescript": "^5.4.5",
|
|
|
+ "stylelint-config-standard": "^38.0.0",
|
|
|
+ "tailwindcss": "^4.1.11",
|
|
|
"tsconfig-paths-webpack-plugin": "^4.1.0",
|
|
|
- "postcss": "^8.4.38",
|
|
|
- "@types/node": "^18"
|
|
|
+ "typescript": "^5.4.5",
|
|
|
+ "weapp-tailwindcss": "^4.2.0",
|
|
|
+ "webpack": "5.91.0"
|
|
|
}
|
|
|
}
|