From a6b9fe77f3499c9f4be8f7173e6caf5b0c185394 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BC=8D=E7=A8=8B=E5=87=AF?= Date: Mon, 16 Jul 2018 18:46:38 +0800 Subject: [PATCH] refactor(build): tweak build script --- package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index dd19b12..0c60e22 100644 --- a/package.json +++ b/package.json @@ -11,11 +11,11 @@ "lint": "tslint --project tsconfig.json", "docs:lint": "documentation lint dist/**", "docs:deploy": "npm run docs && cp -r .circleci docs && gh-pages -d docs -t", - "docs": "rm -rf docs/ dist/ && npm run dev && documentation build dist/** -f html -o docs", + "docs": "npm run dev && documentation build dist/** -f html -o docs", "build": "npm run dev && bili --format cjs --filename '[name].js' --exports 'named'", - "dev": "rm -rf dist/ libs/ && tsc", + "dev": "tsc", "test:unit": "jest", - "postversion": "npm run build && npm run docs:deploy", + "postversion": "rm -rf dist/ libs/ && npm run build && npm run docs:deploy", "postbuild": "cp dist/*.d.ts libs" }, "author": "Army-U ",