Skip to content

Commit

Permalink
Cleanup scripts for build, publish, test
Browse files Browse the repository at this point in the history
  • Loading branch information
bigtimebuddy committed Sep 27, 2022
1 parent 184b107 commit 3f72777
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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}/*\"",
Expand Down

0 comments on commit 3f72777

Please sign in to comment.