|
|
@@ -10,11 +10,12 @@
|
|
|
"dev:h5": "cross-env NODE_ENV=development UNI_PLATFORM=h5 UNI_INPUT_DIR=. UNI_CLI_CONTEXT=. vue-cli-service uni-serve",
|
|
|
"build:h5": "cross-env NODE_ENV=production UNI_PLATFORM=h5 UNI_INPUT_DIR=. UNI_CLI_CONTEXT=. vue-cli-service uni-build",
|
|
|
"build:mp-weixin": "cross-env NODE_ENV=development UNI_PLATFORM=mp-weixin UNI_INPUT_DIR=. UNI_CLI_CONTEXT=. vue-cli-service uni-build",
|
|
|
+ "postinstall": "node postinstall-fix.js",
|
|
|
"postbuild": "node -e \"try{require('fs').unlinkSync('dist/dev/mp-weixin/custom-tab-bar/index.vue')}catch(e){};try{const c=require('./dist/dev/mp-weixin/project.config.json');c.setting=c.setting||{};c.setting.lazyCodeLoading='requiredComponents';require('fs').writeFileSync('./dist/dev/mp-weixin/project.config.json',JSON.stringify(c,null,2))}catch(e){}\""
|
|
|
},
|
|
|
"devDependencies": {
|
|
|
- "@babel/core": "^7.29.7",
|
|
|
- "@babel/preset-env": "^7.29.7",
|
|
|
+ "@babel/core": "^7.16.0",
|
|
|
+ "@babel/preset-env": "^7.16.0",
|
|
|
"@dcloudio/uni-app": "^2.0.2-5010420260703001",
|
|
|
"@dcloudio/uni-cli-i18n": "^2.0.2-5010420260703001",
|
|
|
"@dcloudio/uni-cli-shared": "^2.0.2-5010420260703001",
|
|
|
@@ -24,12 +25,13 @@
|
|
|
"@dcloudio/uni-mp-weixin": "^2.0.2-5010420260703001",
|
|
|
"@dcloudio/uni-template-compiler": "^2.0.2-5010420260703001",
|
|
|
"@dcloudio/webpack-uni-pages-loader": "^2.0.2-5010420260703001",
|
|
|
- "@vue/cli-plugin-babel": "^5.0.9",
|
|
|
- "@vue/cli-service": "^5.0.9",
|
|
|
+ "@vue/cli-plugin-babel": "~4.5.0",
|
|
|
+ "@vue/cli-service": "~4.5.0",
|
|
|
"@vue/compiler-sfc": "2.7.16",
|
|
|
"babel-jest": "^26.6.3",
|
|
|
- "copy-webpack-plugin": "^14.0.0",
|
|
|
+ "copy-webpack-plugin": "^5.1.2",
|
|
|
"jest": "^26.6.3",
|
|
|
+ "node-sass": "^9.0.0",
|
|
|
"vue": "2.7.16",
|
|
|
"vuex": "^3.6.2",
|
|
|
"yalc": "^1.0.0-pre.53"
|
|
|
@@ -37,10 +39,13 @@
|
|
|
"dependencies": {
|
|
|
"@dcloudio/vue-cli-plugin-uni": "^2.0.2-5000720260410001",
|
|
|
"@dcloudio/webpack-uni-mp-loader": "^2.0.2-5010520260709001",
|
|
|
+ "postcss": "7.0.39",
|
|
|
"regenerator-runtime": "^0.14.1",
|
|
|
"yargs-parser": "^22.0.0"
|
|
|
},
|
|
|
"overrides": {
|
|
|
+ "postcss": "7.0.39",
|
|
|
+ "postcss-selector-parser": "5.0.0",
|
|
|
"@vue/compiler-sfc": "2.7.16",
|
|
|
"@vue/babel-plugin-jsx": "npm:@vue/babel-plugin-jsx@^1.1.1"
|
|
|
}
|