Skip to content

Commit 9142ac6

Browse files
committed
Clear out lib/ directory when rebuilding
1 parent 23fdc8f commit 9142ac6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"main": "lib/index.js",
55
"license": "MIT",
66
"scripts": {
7-
"build": "tslint -p . && tsc",
7+
"build": "tslint -p . && rm -rf lib/ && tsc",
88
"test": "mocha -r ts-node/register --recursive \"./src/**/__tests__/*\"",
99
"test-watch": "mocha -r ts-node/register --recursive \"./src/**/__tests__/*\" --watch --watch-extensions ts,tsx",
1010
"prepublish": "npm run build && npm run test"

0 commit comments

Comments
 (0)