diff --git a/package.json b/package.json index f77a777..dfc1603 100644 --- a/package.json +++ b/package.json @@ -17,6 +17,7 @@ "serve": "http-server . -o example", "watch": "rollup -c config/rollup.js -w", "clean": "rimraf dist/*", + "prebuild": "run-s lint types clean ", "build": "cross-env NODE_ENV=production rollup -c config/rollup.js", "postbuild": "run-s build:types", "build:dev": "rollup -c config/rollup.js", @@ -27,8 +28,8 @@ "lint": "eslint src", "lint:fix": "eslint src --fix", "types": "tsc -noEmit", - "test": "run-s lint clean build", - "postversion": "run-s lint clean build", + "test": "run-s build", + "postversion": "run-s build", "docs": "webdoc -c config/webdoc.json -R README.md", "predeploy": "run-s build docs", "deploy": "gh-pages -f -d . -s \"{dist,docs,example}/*\"",