add shell-exec
Showing
{ | { | ||
"name": "uniapp-js-framework", | "name": "uniapp-js-framework", | ||
"version": "0.0.1", | "version": "0.0.1", | ||
"scripts": { | "scripts": { | ||
"build:service:legacy": "npm run lint && rollup -c build/rollup.config.service.js", | "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 --ignore-path .eslintignore packages/uni-cli-shared packages/uni-template-compiler \"packages/vue-cli-*/**/*.js\" \"packages/webpack-uni-*/**/*.js\"", | "lint:cli": "eslint --fix --config package.json --ignore-path .eslintignore packages/uni-cli-shared packages/uni-template-compiler \"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", | "build:h5:ui": "cross-env NODE_ENV=production UNI_WATCH=false UNI_PLATFORM=h5 UNI_UI=true node build/build.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", | "build:app:all": "npm run lint && npm run build:app:nvue && npm run build:app:legacy", | ||
... | @@ -22,7 +22,7 @@ | ... | @@ -22,7 +22,7 @@ |
"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=*", | ||
"release:alpha": "npm run lint:cli && lerna publish --force-publish=* --npm-tag=alpha", | "release:alpha": "npm run lint:cli && lerna publish --force-publish=* --npm-tag=alpha", | ||
"release:next": "npm run lint:cli && lerna publish --force-publish=* --npm-tag=next" | "release:next": "npm run lint:cli && lerna publish --force-publish=* --npm-tag=next" | ||
}, | }, | ||
"dependencies": { | "dependencies": { | ||
... | @@ -63,6 +63,7 @@ | ... | @@ -63,6 +63,7 @@ |
"rollup-plugin-commonjs": "^10.0.1", | "rollup-plugin-commonjs": "^10.0.1", | ||
"rollup-plugin-node-resolve": "^5.2.0", | "rollup-plugin-node-resolve": "^5.2.0", | ||
"rollup-plugin-replace": "^2.1.0", | "rollup-plugin-replace": "^2.1.0", | ||
"shell-exec": "^1.0.2", | |||
"strip-json-comments": "^2.0.1", | "strip-json-comments": "^2.0.1", | ||
"vue": "^2.6.8", | "vue": "^2.6.8", | ||
"vue-router": "^3.0.1", | "vue-router": "^3.0.1", | ||
... | ... |
想要评论请 注册 或 登录