Skip to content

Commit 65844d8

Browse files
committed
fix: clean dist before building
1 parent c360b46 commit 65844d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"typescript": "2.2.0"
3232
},
3333
"scripts": {
34-
"build": "tsc && mv dist/bin/denali.js dist/bin/denali && chmod +x dist/bin/denali && echo 'Build successful'",
34+
"build": "rm -r dist && tsc && mv dist/bin/denali.js dist/bin/denali && chmod +x dist/bin/denali && echo 'Build successful'",
3535
"prepublish": "in-publish && npm run build || not-in-publish",
3636
"lint": "! tslint --project tsconfig.json -c tslint.json --type-check | sed \"s|$PWD/||\" | grep ERROR",
3737
"test": "npm run lint && rm -rf dist coverage .nyc_output && npm run build && nyc ava dist/test/acceptance"

0 commit comments

Comments
 (0)