Browse Source

build: bump dev deps

dev
Evan You 6 years ago
parent
commit
bbfeb039f3
  1. 19
      package.json
  2. 2
      scripts/build.js
  3. 787
      yarn.lock

19
package.json

@ -77,7 +77,7 @@
"@types/node": "^10.12.18", "@types/node": "^10.12.18",
"@types/webpack": "^4.4.22", "@types/webpack": "^4.4.22",
"acorn": "^5.2.1", "acorn": "^5.2.1",
"babel-eslint": "^8.0.3", "babel-eslint": "^10.0.1",
"babel-helper-vue-jsx-merge-props": "^2.0.3", "babel-helper-vue-jsx-merge-props": "^2.0.3",
"babel-loader": "^8.0.4", "babel-loader": "^8.0.4",
"babel-plugin-istanbul": "^5.1.0", "babel-plugin-istanbul": "^5.1.0",
@ -89,7 +89,7 @@
"codecov": "^3.0.0", "codecov": "^3.0.0",
"commitizen": "^2.9.6", "commitizen": "^2.9.6",
"conventional-changelog": "^1.1.3", "conventional-changelog": "^1.1.3",
"cross-spawn": "^5.1.0", "cross-spawn": "^6.0.5",
"cz-conventional-changelog": "^2.0.0", "cz-conventional-changelog": "^2.0.0",
"de-indent": "^1.0.2", "de-indent": "^1.0.2",
"es6-promise": "^4.1.0", "es6-promise": "^4.1.0",
@ -97,7 +97,7 @@
"eslint": "^5.7.0", "eslint": "^5.7.0",
"eslint-plugin-flowtype": "^2.34.0", "eslint-plugin-flowtype": "^2.34.0",
"eslint-plugin-jasmine": "^2.8.4", "eslint-plugin-jasmine": "^2.8.4",
"file-loader": "^1.1.5", "file-loader": "^3.0.1",
"flow-bin": "^0.61.0", "flow-bin": "^0.61.0",
"hash-sum": "^1.0.2", "hash-sum": "^1.0.2",
"he": "^1.1.1", "he": "^1.1.1",
@ -112,23 +112,22 @@
"karma-mocha-reporter": "^2.2.3", "karma-mocha-reporter": "^2.2.3",
"karma-phantomjs-launcher": "^1.0.4", "karma-phantomjs-launcher": "^1.0.4",
"karma-safari-launcher": "^1.0.0", "karma-safari-launcher": "^1.0.0",
"karma-sauce-launcher": "^1.1.0", "karma-sauce-launcher": "^2.0.2",
"karma-sourcemap-loader": "^0.3.7", "karma-sourcemap-loader": "^0.3.7",
"karma-webpack": "^4.0.0-rc.2", "karma-webpack": "^4.0.0-rc.2",
"lint-staged": "^7.0.0", "lint-staged": "^8.0.0",
"lodash": "^4.17.4", "lodash": "^4.17.4",
"lodash.template": "^4.4.0", "lodash.template": "^4.4.0",
"lodash.uniq": "^4.5.0", "lodash.uniq": "^4.5.0",
"lru-cache": "^4.1.1", "lru-cache": "^5.1.1",
"nightwatch": "^0.9.16", "nightwatch": "^0.9.16",
"nightwatch-helpers": "^1.2.0", "nightwatch-helpers": "^1.2.0",
"phantomjs-prebuilt": "^2.1.14", "phantomjs-prebuilt": "^2.1.14",
"puppeteer": "^1.11.0", "puppeteer": "^1.11.0",
"resolve": "^1.3.3", "resolve": "^1.3.3",
"rollup": "^0.68.1", "rollup": "^1.0.0",
"rollup-plugin-alias": "^1.3.1", "rollup-plugin-alias": "^1.3.1",
"rollup-plugin-babel": "^4.0.1", "rollup-plugin-buble": "^0.19.6",
"rollup-plugin-buble": "^0.19.2",
"rollup-plugin-commonjs": "^9.2.0", "rollup-plugin-commonjs": "^9.2.0",
"rollup-plugin-flow-no-whitespace": "^1.0.0", "rollup-plugin-flow-no-whitespace": "^1.0.0",
"rollup-plugin-node-resolve": "^4.0.0", "rollup-plugin-node-resolve": "^4.0.0",
@ -141,7 +140,7 @@
"webpack": "^4.22.0", "webpack": "^4.22.0",
"weex-js-runtime": "^0.23.6", "weex-js-runtime": "^0.23.6",
"weex-styler": "^0.3.0", "weex-styler": "^0.3.0",
"yorkie": "^1.0.1" "yorkie": "^2.0.0"
}, },
"config": { "config": {
"commitizen": { "commitizen": {

2
scripts/build.js

@ -46,7 +46,7 @@ function buildEntry (config) {
const isProd = /(min|prod)\.js$/.test(file) const isProd = /(min|prod)\.js$/.test(file)
return rollup.rollup(config) return rollup.rollup(config)
.then(bundle => bundle.generate(output)) .then(bundle => bundle.generate(output))
.then(({ code }) => { .then(({ output: [{ code }] }) => {
if (isProd) { if (isProd) {
const minified = (banner ? banner + '\n' : '') + terser.minify(code, { const minified = (banner ? banner + '\n' : '') + terser.minify(code, {
toplevel: true, toplevel: true,

787
yarn.lock

File diff suppressed because it is too large
Loading…
Cancel
Save