Skip to content

Commit

Permalink
fix(package): add clean command
Browse files Browse the repository at this point in the history
  • Loading branch information
azu committed May 20, 2018
1 parent 6dcf2ef commit 4ef13e5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
"test": "mocha 'test/*.ts'",
"build": "cross-env NODE_ENV=production tsc -p .",
"watch": "tsc -p . --watch",
"prepublish": "npm run --if-present build"
"prepublish": "npm run clean && npm run build",
"clean": "rimraf lib/"
},
"lint-staged": {
"*.{js,ts,tsx,css}": [
Expand Down Expand Up @@ -53,6 +54,7 @@
"lint-staged": "^7.0.5",
"mocha": "^5.1.1",
"prettier": "1.12.1",
"rimraf": "^2.6.2",
"ts-node": "^6.0.2",
"typescript": "^2.8.3"
},
Expand Down

0 comments on commit 4ef13e5

Please sign in to comment.