From a2509abf57b997983b7c3f8a5f1006d57b888c89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=98=89=E6=B6=B5?= Date: Mon, 8 Jan 2018 19:19:04 +0800 Subject: [PATCH] [Improvement] should run bootstrap before run dist --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index fbcedaadd..f20768fd7 100644 --- a/package.json +++ b/package.json @@ -23,13 +23,13 @@ "deploy": "npm run deploy:docs && npm run deploy:cdn && gh-pages -d docs/dist --remote youzan && rimraf docs/dist", "deploy:cdn": "superman cdn /zanui/vant docs/dist/*.js docs/dist/*.css && superman cdn /zanui/vant/async_en-US docs/dist/async_en-US/*.js && superman cdn /zanui/vant/async_zh-CN docs/dist/async_zh-CN/*.js", "deploy:docs": "rimraf docs/dist && cross-env NODE_ENV=production webpack --progress --hide-modules --config build/webpack.config.prod.js", - "dist": "node build/bin/build-lib.js", + "dist": "npm run bootstrap && node build/bin/build-lib.js", "lint": "./node_modules/.bin/eslint ./packages --ext .js,.vue", "test": "karma start test/unit/karma.conf.js --single-run", "test:coverage": "open test/unit/coverage/lcov-report/index.html", "test:watch": "karma start test/unit/karma.conf.js", "test:single": "node ./test/unit/selector.js", - "release": "npm run bootstrap && sh build/release.sh" + "release": "sh build/release.sh" }, "repository": { "type": "git",