Skip to content
This repository has been archived by the owner on Nov 23, 2022. It is now read-only.

Commit

Permalink
chore: add prebuild command to remove dist dir
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanTheAllmighty committed Jun 22, 2019
1 parent 7cbe9fe commit a7d6402
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# don't upload these to NPM
.vscode
coverage
lib
.vscode/
coverage/
lib/
.prettierrc
commitlint.config.js
index.ts
Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"lib": "lib"
},
"scripts": {
"prebuild": "rimraf dist/",
"build": "tsc -p tsconfig.json",
"test": "jest --passWithNoTests",
"prepublishOnly": "npm run build",
Expand Down Expand Up @@ -58,6 +59,7 @@
"np": "^5.0.3",
"prettier": "^1.18.2",
"reflect-metadata": "^0.1.13",
"rimraf": "^2.6.3",
"rxjs": "^6.5.2",
"ts-jest": "^24.0.2",
"ts-node": "^8.3.0",
Expand Down

0 comments on commit a7d6402

Please sign in to comment.