diff --git a/build/index.js b/build/index.js index 0c57de2a..d14fe2e7 100644 --- a/build/index.js +++ b/build/index.js @@ -1,4 +1,4 @@ -const { run } = require('runjs') +const { sh } = require('tasksfile') const chalk = require('chalk') const config = require('../vue.config.js') const rawArgv = process.argv.slice(2) @@ -7,7 +7,7 @@ const args = rawArgv.join(' ') if (process.env.npm_config_preview || rawArgv.includes('--preview')) { const report = rawArgv.includes('--report') - run(`vue-cli-service build ${args}`) + sh(`vue-cli-service build ${args}`) const port = 9526 const publicPath = config.publicPath @@ -31,5 +31,5 @@ if (process.env.npm_config_preview || rawArgv.includes('--preview')) { }) } else { - run(`vue-cli-service build ${args}`) + sh(`vue-cli-service build ${args}`) } diff --git a/package.json b/package.json index 63a5ea8e..00e6f2a7 100644 --- a/package.json +++ b/package.json @@ -49,7 +49,7 @@ "driver.js": "0.9.7", "dropzone": "5.5.1", "echarts": "4.3.0", - "element-ui": "2.7.0", + "element-ui": "2.12.0", "file-saver": "2.0.2", "fuse.js": "3.4.5", "js-cookie": "2.2.1", @@ -58,15 +58,15 @@ "normalize.css": "7.0.0", "nprogress": "0.2.0", "path-to-regexp": "2.4.0", - "screenfull": "4.2.0", + "screenfull": "5.0.0", "showdown": "1.9.0", - "sortablejs": "1.10.0", - "tui-editor": "1.4.6", + "sortablejs": "1.10.1", + "tui-editor": "1.4.7", "vue": "2.6.10", "vue-count-to": "1.0.13", "vue-router": "3.1.3", "vue-splitpane": "1.0.4", - "vuedraggable": "2.23.1", + "vuedraggable": "2.23.2", "vuex": "3.1.1", "xlsx": "0.15.1" }, @@ -75,27 +75,27 @@ "@babel/register": "7.0.0", "@vue/cli-plugin-babel": "3.11.0", "@vue/cli-plugin-eslint": "3.11.0", - "@vue/cli-plugin-unit-jest": "3.5.3", + "@vue/cli-plugin-unit-jest": "3.11.0", "@vue/cli-service": "3.11.0", "@vue/test-utils": "1.0.0-beta.29", "autoprefixer": "^9.5.1", "babel-core": "7.0.0-bridge.0", - "babel-eslint": "10.0.1", - "babel-jest": "23.6.0", + "babel-eslint": "10.0.3", + "babel-jest": "24.9.0", "chalk": "2.4.2", "chokidar": "3.1.1", "connect": "3.7.0", - "eslint": "5.15.3", + "eslint": "6.5.1", "eslint-plugin-vue": "5.2.3", "html-webpack-plugin": "3.2.0", - "husky": "1.3.1", - "lint-staged": "8.1.5", + "husky": "3.0.8", + "lint-staged": "9.4.2", "mockjs": "1.0.1-beta3", "node-sass": "^4.9.0", "plop": "2.4.0", - "runjs": "^4.3.2", + "tasksfile": "5.1.0", "sass-loader": "^7.1.0", - "script-ext-html-webpack-plugin": "2.1.3", + "script-ext-html-webpack-plugin": "2.1.4", "script-loader": "0.7.2", "serve-static": "^1.13.2", "svg-sprite-loader": "4.1.6",