From e1f61af8f93fafa61e75cba2c5f2ff34e355912b Mon Sep 17 00:00:00 2001 From: zazzaz Date: Tue, 28 Jul 2020 13:28:00 +0800 Subject: [PATCH] ci: add build preview --- .gitignore | 1 + package.json | 3 +-- yarn.lock | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 6e55df1d29..653b5b774d 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ dist yarn-error.log lerna-debug.json yarn-error.log +storybook-static diff --git a/package.json b/package.json index d995fd32c5..c8a96eb915 100644 --- a/package.json +++ b/package.json @@ -3,13 +3,12 @@ "private": true, "version": "0.0.0", "scripts": { - "dev": "vite", - "build": "vite build", "cz": "git add -A && npx git-cz", "test": "jest", "gen": "bash ./scripts/gc.sh", "storybook": "start-storybook", "bootstrap": "yarn && npx lerna bootstrap", + "build": "yarn bootstrap && yarn build-storybook", "lint": "eslint . --ext .vue,.js,.ts" }, "peerDependencies": { diff --git a/yarn.lock b/yarn.lock index f0909379f9..f29c4b18b3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -12043,7 +12043,7 @@ semver@7.0.0: resolved "https://registry.npm.taobao.org/semver/download/semver-7.0.0.tgz#5f3ca35761e47e05b206c6daff2cf814f0316b8e" integrity sha1-XzyjV2HkfgWyBsba/yz4FPAxa44= -semver@7.x, semver@^7.2.1, semver@^7.3.2: +semver@7.3.2, semver@7.x, semver@^7.2.1, semver@^7.3.2: version "7.3.2" resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.2.tgz#604962b052b81ed0786aae84389ffba70ffd3938" integrity sha512-OrOb32TeeambH6UrhtShmF7CRDqhL6/5XpPNp2DuRH6+9QLw/orhp72j87v8Qa1ScDkvrrBNpZcDejAirJmfXQ==