Skip to content

Commit

Permalink
Clear dist folder when building.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ionaru committed Apr 19, 2019
1 parent d254a33 commit 2e38822
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
"url": "https://github.com/Ionaru/MarketBot.git"
},
"scripts": {
"build": "tsc --skipLibCheck --project tsconfig.json",
"clean": "npx rimraf -q dist",
"build": "npm run clean && tsc --skipLibCheck --project tsconfig.json",
"lint": "npm run lint:src && npm run lint:test",
"lint:src": "tslint --project tsconfig.json -c tslint.json --format stylish",
"lint:test": "tslint -c tslint.json src/**/*.spec.ts --format stylish",
Expand Down

0 comments on commit 2e38822

Please sign in to comment.