From bfdf146f76d9eb85a05f0074873c2c385c1c4a68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=98=89=E6=B6=B5?= Date: Thu, 22 Feb 2018 10:02:23 +0800 Subject: [PATCH] update dependencies --- build/webpack.config.dev.js | 4 ++-- docs/src/mobile.js | 2 +- package.json | 12 +++++----- yarn.lock | 46 ++++++++++++++++++++++--------------- 4 files changed, 36 insertions(+), 28 deletions(-) diff --git a/build/webpack.config.dev.js b/build/webpack.config.dev.js index e8b0e0aa2..a98513df1 100644 --- a/build/webpack.config.dev.js +++ b/build/webpack.config.dev.js @@ -27,7 +27,7 @@ module.exports = { host: '0.0.0.0', historyApiFallback: { rewrites: [ - { from: /^\/zanui\/vant\/examples/, to: '/mobile.html' }, + { from: /^\/zanui\/vant\/examples/, to: '/examples.html' }, { from: /^\/zanui\/vant/, to: '/index.html' } ] }, @@ -100,7 +100,7 @@ module.exports = { new HtmlWebpackPlugin({ chunks: ['vendor', 'vant-mobile'], template: 'docs/src/index.tpl', - filename: 'mobile.html', + filename: 'examples.html', inject: true }), new webpack.optimize.CommonsChunkPlugin({ diff --git a/docs/src/mobile.js b/docs/src/mobile.js index 85604ca14..88fab8569 100644 --- a/docs/src/mobile.js +++ b/docs/src/mobile.js @@ -19,7 +19,7 @@ Vue const router = new VueRouter({ mode: 'hash', - base: '/zanui/vant/mobile', + base: '/zanui/vant/examples', routes: routes(true) }); diff --git a/package.json b/package.json index 30c12032b..b23ed583f 100644 --- a/package.json +++ b/package.json @@ -44,7 +44,7 @@ "license": "MIT", "dependencies": { "babel-runtime": "6.x", - "vue-lazyload": "^1.2.0" + "vue-lazyload": "^1.2.1" }, "peerDependencies": { "vue": ">= 2.5.0" @@ -65,7 +65,7 @@ "cross-env": "^5.1.3", "css-loader": "^0.28.9", "dependency-tree": "^6.0.0", - "eslint": "^4.17.0", + "eslint": "^4.18.1", "eslint-plugin-vue": "^4.2.2", "extract-text-webpack-plugin": "3.0.2", "fast-vue-md-loader": "^1.0.3", @@ -82,17 +82,17 @@ "karma-spec-reporter": "^0.0.32", "karma-webpack": "^2.0.9", "mocha": "^4.0.1", - "postcss": "^6.0.17", + "postcss": "^6.0.19", "postcss-calc": "^6.0.0", "postcss-easy-import": "^3.0.0", "postcss-loader": "^2.1.0", "precss": "2.0.0", - "progress-bar-webpack-plugin": "^1.10.0", + "progress-bar-webpack-plugin": "^1.11.0", "rimraf": "^2.5.4", "shelljs": "^0.8.1", "sinon": "^2.4.1", "sinon-chai": "^2.12.0", - "style-loader": "^0.20.1", + "style-loader": "^0.20.2", "uppercamelcase": "^3.0.0", "url-loader": "^0.6.2", "vant-doc": "1.0.3", @@ -100,7 +100,7 @@ "vue-loader": "^14.1.1", "vue-router": "^3.0.1", "vue-sfc-compiler": "^0.0.8", - "vue-style-loader": "^3.1.2", + "vue-style-loader": "^4.0.2", "vue-template-compiler": "^2.5.13", "vue-template-es2015-compiler": "^1.6.0", "webpack": "^3.11.0", diff --git a/yarn.lock b/yarn.lock index 832112d9f..b7ca44087 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1262,7 +1262,7 @@ chalk@^1.1.1, chalk@^1.1.3: strip-ansi "^3.0.0" supports-color "^2.0.0" -chalk@^2.0.0, chalk@^2.1.0, chalk@^2.3.0: +chalk@^2.0.0, chalk@^2.1.0, chalk@^2.3.0, chalk@^2.3.1: version "2.3.1" resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.3.1.tgz#523fe2678aec7b04e8041909292fe8b17059b796" dependencies: @@ -2383,9 +2383,9 @@ eslint-visitor-keys@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-1.0.0.tgz#3f3180fb2e291017716acb4c9d6d5b5c34a6a81d" -eslint@^4.17.0: - version "4.17.0" - resolved "https://registry.yarnpkg.com/eslint/-/eslint-4.17.0.tgz#dc24bb51ede48df629be7031c71d9dc0ee4f3ddf" +eslint@^4.18.1: + version "4.18.1" + resolved "https://registry.yarnpkg.com/eslint/-/eslint-4.18.1.tgz#b9138440cb1e98b2f44a0d578c6ecf8eae6150b0" dependencies: ajv "^5.3.0" babel-code-frame "^6.22.0" @@ -5527,6 +5527,14 @@ postcss@^6.0.17: source-map "^0.6.1" supports-color "^5.1.0" +postcss@^6.0.19: + version "6.0.19" + resolved "https://registry.yarnpkg.com/postcss/-/postcss-6.0.19.tgz#76a78386f670b9d9494a655bf23ac012effd1555" + dependencies: + chalk "^2.3.1" + source-map "^0.6.1" + supports-color "^5.2.0" + precinct@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/precinct/-/precinct-4.0.0.tgz#ce67108123b8ae7c156180fb3836c5e5de24654f" @@ -5600,9 +5608,9 @@ process@^0.11.10: version "0.11.10" resolved "https://registry.yarnpkg.com/process/-/process-0.11.10.tgz#7332300e840161bda3e69a1d1d91a7d4bc16f182" -progress-bar-webpack-plugin@^1.10.0: - version "1.10.0" - resolved "https://registry.yarnpkg.com/progress-bar-webpack-plugin/-/progress-bar-webpack-plugin-1.10.0.tgz#e0b1063aa03c79e298a9340598590bb61efef9a4" +progress-bar-webpack-plugin@^1.11.0: + version "1.11.0" + resolved "https://registry.yarnpkg.com/progress-bar-webpack-plugin/-/progress-bar-webpack-plugin-1.11.0.tgz#4f801288443c55ec029b20cbfdcbf3e1dc17f852" dependencies: chalk "^1.1.1" object.assign "^4.0.1" @@ -6625,9 +6633,9 @@ strip-json-comments@~2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a" -style-loader@^0.20.1: - version "0.20.1" - resolved "https://registry.yarnpkg.com/style-loader/-/style-loader-0.20.1.tgz#33ac2bf4d5c65a8906bc586ad253334c246998d0" +style-loader@^0.20.2: + version "0.20.2" + resolved "https://registry.yarnpkg.com/style-loader/-/style-loader-0.20.2.tgz#851b373c187890331776e9cde359eea9c95ecd00" dependencies: loader-utils "^1.1.0" schema-utils "^0.4.3" @@ -7124,9 +7132,9 @@ vue-hot-reload-api@^2.2.0: version "2.2.4" resolved "https://registry.yarnpkg.com/vue-hot-reload-api/-/vue-hot-reload-api-2.2.4.tgz#683bd1d026c0d3b3c937d5875679e9a87ec6cd8f" -vue-lazyload@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/vue-lazyload/-/vue-lazyload-1.2.0.tgz#f295002d14bfcad1b3eae340d211ba711b818b57" +vue-lazyload@^1.2.1: + version "1.2.1" + resolved "https://registry.yarnpkg.com/vue-lazyload/-/vue-lazyload-1.2.1.tgz#baa7356bdc1483777fd16007fbe2dddc16e98298" vue-loader@^14.1.1: version "14.1.1" @@ -7156,16 +7164,16 @@ vue-sfc-compiler@^0.0.8: dependencies: babel-polyfill "^6.26.0" -vue-style-loader@^3.1.2: - version "3.1.2" - resolved "https://registry.yarnpkg.com/vue-style-loader/-/vue-style-loader-3.1.2.tgz#6b66ad34998fc9520c2f1e4d5fa4091641c1597a" +vue-style-loader@^4.0.1: + version "4.0.1" + resolved "https://registry.yarnpkg.com/vue-style-loader/-/vue-style-loader-4.0.1.tgz#252300d32eb97e83c1a1cb5b2029e2d8c3adcf9f" dependencies: hash-sum "^1.0.2" loader-utils "^1.0.2" -vue-style-loader@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/vue-style-loader/-/vue-style-loader-4.0.1.tgz#252300d32eb97e83c1a1cb5b2029e2d8c3adcf9f" +vue-style-loader@^4.0.2: + version "4.0.2" + resolved "https://registry.yarnpkg.com/vue-style-loader/-/vue-style-loader-4.0.2.tgz#e89aa4702a0c6b9630d8de70b1cbddb06b9ad254" dependencies: hash-sum "^1.0.2" loader-utils "^1.0.2"