Merge branch 'dev' of github.com:dcloudio/uni-app into dev
Showing
{ | { | ||
"name": "uniapp-js-framework", | "name": "uni-app", | ||
"version": "0.0.1", | "version": "0.0.1", | ||
"scripts": { | "scripts": { | ||
"build:service:legacy": "npm run lint && rollup -c build/rollup.config.service.js", | |||
"lint": "eslint --fix --config package.json --ext .js --ext .vue --ignore-path .eslintignore build src", | "lint": "eslint --fix --config package.json --ext .js --ext .vue --ignore-path .eslintignore build src", | ||
"lint:cli": "eslint --fix --config package.json --ext .js --ext .vue --ignore-path .eslintignore packages/uni-cli-shared packages/uni-template-compiler \"packages/uni-*/lib/*.js\" \"packages/vue-cli-*/**/*.js\" \"packages/webpack-uni-*/**/*.js\"", | "lint:cli": "eslint --fix --config package.json --ext .js --ext .vue --ignore-path .eslintignore packages/uni-cli-shared packages/uni-template-compiler \"packages/uni-*/lib/*.js\" \"packages/vue-cli-*/**/*.js\" \"packages/webpack-uni-*/**/*.js\"", | ||
"dev:h5": "npm run lint && cross-env NODE_ENV=production UNI_WATCH=true UNI_PLATFORM=h5 node build/build.js", | "dev:h5": "npm run lint && cross-env NODE_ENV=production UNI_WATCH=true UNI_PLATFORM=h5 node build/build.js", | ||
"build:h5": "npm run lint && cross-env NODE_ENV=production UNI_WATCH=false UNI_PLATFORM=h5 node build/build.js", | "build:h5": "npm run lint && cross-env NODE_ENV=production UNI_WATCH=false UNI_PLATFORM=h5 node build/build.js", | ||
"build:h5:ui": "cross-env NODE_ENV=production UNI_WATCH=false UNI_PLATFORM=h5 UNI_UI=true node build/build.js", | |||
"dev:plugin": "cross-env NODE_ENV=production UNI_WATCH=true UNI_PLATFORM=h5 node build/build.plugin.js", | "dev:plugin": "cross-env NODE_ENV=production UNI_WATCH=true UNI_PLATFORM=h5 node build/build.plugin.js", | ||
"build:plugin": "cross-env NODE_ENV=production UNI_WATCH=false UNI_PLATFORM=h5 node build/build.plugin.js", | "build:plugin": "cross-env NODE_ENV=production UNI_WATCH=false UNI_PLATFORM=h5 node build/build.plugin.js", | ||
"build:app-plus": "cross-env UNI_PLATFORM=app-plus rollup -c build/rollup.config.mp.js", | "build:app-plus": "cross-env UNI_PLATFORM=app-plus rollup -c build/rollup.config.mp.js", | ||
"build:app:all": "npm run lint && npm run build:app:nvue && npm run build:app:legacy && npm run build:app:service && npm run build:app:view", | "build:app:v3": "npm run lint && npm run build:app:service && npm run build:app:view", | ||
"build:app:v3": "npm run lint && npm run build:app:service && npm run dev:app:view", | |||
"build:app:service": "cross-env UNI_PLATFORM=app-plus rollup -c build/rollup.config.app.js", | "build:app:service": "cross-env UNI_PLATFORM=app-plus rollup -c build/rollup.config.app.js", | ||
"build:app:view": "cross-env NODE_ENV=production UNI_WATCH=false UNI_PLATFORM=app-plus UNI_VIEW=true node build/build.js", | "build:app:view": "cross-env NODE_ENV=production UNI_WATCH=false UNI_PLATFORM=app-plus UNI_VIEW=true node build/build.js", | ||
"dev:app:view": "cross-env NODE_ENV=development UNI_WATCH=true UNI_PLATFORM=app-plus UNI_VIEW=true node build/build.js", | "dev:app:view": "cross-env NODE_ENV=development UNI_WATCH=true UNI_PLATFORM=app-plus UNI_VIEW=true node build/build.js", | ||
"build:app:nvue": "cross-env UNI_PLATFORM=app-plus-nvue rollup -c build/rollup.config.app.js", | |||
"build:app:legacy": "cross-env UNI_PLATFORM=app-plus-nvue UNI_SERVICE=legacy rollup -c build/rollup.config.app.js", | |||
"build:mp-qq": "cross-env UNI_PLATFORM=mp-qq rollup -c build/rollup.config.mp.js", | "build:mp-qq": "cross-env UNI_PLATFORM=mp-qq rollup -c build/rollup.config.mp.js", | ||
"build:mp-weixin": "cross-env UNI_PLATFORM=mp-weixin rollup -c build/rollup.config.mp.js", | "build:mp-weixin": "cross-env UNI_PLATFORM=mp-weixin rollup -c build/rollup.config.mp.js", | ||
"build:mp-baidu": "cross-env UNI_PLATFORM=mp-baidu rollup -c build/rollup.config.mp.js", | "build:mp-baidu": "cross-env UNI_PLATFORM=mp-baidu rollup -c build/rollup.config.mp.js", | ||
"build:mp-alipay": "cross-env UNI_PLATFORM=mp-alipay rollup -c build/rollup.config.mp.js", | "build:mp-alipay": "cross-env UNI_PLATFORM=mp-alipay rollup -c build/rollup.config.mp.js", | ||
"build:mp-toutiao": "cross-env UNI_PLATFORM=mp-toutiao rollup -c build/rollup.config.mp.js", | "build:mp-toutiao": "cross-env UNI_PLATFORM=mp-toutiao rollup -c build/rollup.config.mp.js", | ||
"build:quickapp-light": "cross-env UNI_PLATFORM=quickapp-light rollup -c build/rollup.config.mp.js", | "build:quickapp-light": "cross-env UNI_PLATFORM=quickapp-light rollup -c build/rollup.config.mp.js", | ||
"build:mp-weixin:mp": "npm run lint && cross-env UNI_PLATFORM=mp-weixin UNI_MP=true rollup -c build/rollup.config.mp.js", | "build:mp-weixin:mp": "cross-env UNI_PLATFORM=mp-weixin UNI_MP=true rollup -c build/rollup.config.mp.js", | ||
"build:mp-weixin:wxs": "rollup -c build/rollup.config.wxs.js", | "build:mp-weixin:wxs": "rollup -c build/rollup.config.wxs.js", | ||
"build:quickapp-vue": "cross-env NODE_ENV=development node build/build.qa.js && cross-env NODE_ENV=production node build/build.qa.js", | "build:quickapp-vue": "cross-env NODE_ENV=development node build/build.qa.js && cross-env NODE_ENV=production node build/build.qa.js", | ||
"build:runtime": "npm run lint && npm run build:mp-weixin && npm run build:mp-qq && npm run build:mp-alipay && npm run build:mp-baidu && npm run build:mp-toutiao && npm run build:app-plus && npm run build:quickapp-light && npm run build:quickapp-vue", | "build:runtime": "npm run lint && npm run build:mp-weixin && npm run build:mp-qq && npm run build:mp-alipay && npm run build:mp-baidu && npm run build:mp-toutiao && npm run build:app-plus && npm run build:quickapp-light && npm run build:quickapp-vue", | ||
"build:stat": "npm run lint && rollup -c build/rollup.config.stat.js", | "build:stat": "npm run lint && rollup -c build/rollup.config.stat.js", | ||
"build:web-view": "npm run lint && rollup -c build/rollup.config.web-view.js", | "build:web-view": "rollup -c build/rollup.config.web-view.js", | ||
"test:cli": "cross-env NODE_ENV=test jest", | "test:cli": "cross-env NODE_ENV=test jest", | ||
"test:unit": "cross-env NODE_ENV=test UNI_PLATFORM=h5 mocha-webpack --require tests/unit/setup.js --webpack-config build/webpack.config.test.js tests/unit/**/*.spec.js", | "test:unit": "cross-env NODE_ENV=test UNI_PLATFORM=h5 mocha-webpack --require tests/unit/setup.js --webpack-config build/webpack.config.test.js tests/unit/**/*.spec.js", | ||
"release": "npm run lint:cli && lerna publish --force-publish=*", | "release": "npm run lint:cli && lerna publish --force-publish=*", | ||
... | @@ -44,49 +39,46 @@ | ... | @@ -44,49 +39,46 @@ |
}, | }, | ||
"private": true, | "private": true, | ||
"devDependencies": { | "devDependencies": { | ||
"@rollup/plugin-alias": "^3.1.0", | |||
"@rollup/plugin-commonjs": "^11.1.0", | |||
"@rollup/plugin-node-resolve": "^7.1.3", | |||
"@rollup/plugin-replace": "^2.3.1", | |||
"@types/html5plus": "^1.0.0", | "@types/html5plus": "^1.0.0", | ||
"@vue/cli-plugin-babel": "^4.1.1", | "@vue/cli-plugin-babel": "^4.3.1", | ||
"@vue/cli-plugin-eslint": "^4.1.1", | "@vue/cli-plugin-eslint": "^4.3.1", | ||
"@vue/cli-plugin-unit-mocha": "^4.1.1", | "@vue/cli-plugin-unit-mocha": "^4.3.1", | ||
"@vue/cli-service": "^4.1.1", | "@vue/cli-service": "^4.3.1", | ||
"@vue/test-utils": "^1.0.0-beta.25", | "@vue/test-utils": "^1.0.0-beta.33", | ||
"babel-eslint": "^10.0.1", | "babel-eslint": "^10.1.0", | ||
"babylon": "^6.18.0", | "babylon": "^6.18.0", | ||
"browserslist": "^4.4.2", | "browserslist": "^4.11.1", | ||
"caniuse-lite": "^1.0.30000940", | "caniuse-lite": "^1.0.30001040", | ||
"chai": "^4.1.2", | "chai": "^4.2.0", | ||
"copy": "^0.3.2", | "copy": "^0.3.2", | ||
"cross-env": "^5.2.0", | "cross-env": "^7.0.2", | ||
"del": "^5.0.0", | "del": "^5.1.0", | ||
"eslint": "^5.5.0", | "eslint": "^6.8.0", | ||
"eslint-config-standard": "^12.0.0", | "eslint-config-standard": "^14.1.0", | ||
"eslint-loader": "^2.1.0", | "eslint-loader": "^3.0.3", | ||
"eslint-plugin-import": "^2.14.0", | "eslint-plugin-import": "^2.20.1", | ||
"eslint-plugin-node": "^7.0.1", | "eslint-plugin-node": "^11.0.0", | ||
"eslint-plugin-promise": "^4.0.0", | "eslint-plugin-promise": "^4.2.1", | ||
"eslint-plugin-standard": "^4.0.0", | "eslint-plugin-standard": "^4.0.1", | ||
"eslint-plugin-vue": "^4.7.1", | "eslint-plugin-vue": "^6.2.2", | ||
"jest": "^24.9.0", | "jest": "^25.1.0", | ||
"jsdom": "^13.0.0", | "jsdom": "^16.2.1", | ||
"jsdom-global": "^3.0.2", | "jsdom-global": "^3.0.2", | ||
"jsonfile": "^5.0.0", | "jsonfile": "^6.0.1", | ||
"rollup": "^1.17.0", | "rollup": "^2.6.1", | ||
"rollup-plugin-alias": "^1.4.0", | "rollup-plugin-babel": "^4.4.0", | ||
"rollup-plugin-babel": "^4.3.3", | "rollup-plugin-terser": "^5.3.0", | ||
"rollup-plugin-commonjs": "^10.0.1", | |||
"rollup-plugin-inject": "^3.0.2", | |||
"rollup-plugin-node-resolve": "^5.2.0", | |||
"rollup-plugin-replace": "^2.1.0", | |||
"rollup-plugin-terser": "^5.2.0", | |||
"rollup-plugin-uglify": "^6.0.3", | |||
"shell-exec": "^1.0.2", | "shell-exec": "^1.0.2", | ||
"strip-json-comments": "^2.0.1", | "strip-json-comments": "^3.1.0", | ||
"vue": "^2.6.11", | "vue": "^2.6.11", | ||
"vue-router": "^3.0.1", | "vue-router": "^3.0.1", | ||
"vue-template-compiler": "^2.6.11", | "vue-template-compiler": "^2.6.11", | ||
"webpack": "^4.18.0", | "webpack": "^4.42.0", | ||
"webpack-bundle-analyzer": "^3.0.3", | "webpack-bundle-analyzer": "^3.6.1" | ||
"webpack-virtual-modules": "^0.1.10" | |||
}, | }, | ||
"eslintConfig": { | "eslintConfig": { | ||
"root": true, | "root": true, | ||
... | ... |
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
想要评论请 注册 或 登录