aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
Diffstat (limited to 'package.json')
-rw-r--r--package.json3
1 files changed, 2 insertions, 1 deletions
diff --git a/package.json b/package.json
index 4277fb7..f6e9131 100644
--- a/package.json
+++ b/package.json
@@ -7,7 +7,7 @@
"repository": "https://github.com/wokwi/avr8js",
"license": "MIT",
"scripts": {
- "build": "tsc",
+ "build": "rimraf dist && tsc",
"prepare": "npm run build",
"start": "ts-node src/main.ts",
"lint": "tslint --project tsconfig.json",
@@ -23,6 +23,7 @@
"jest": "^24.9.0",
"lint-staged": "^9.4.2",
"prettier": "^1.19.1",
+ "rimraf": "^3.0.0",
"ts-jest": "^24.1.0",
"ts-node": "^8.5.0",
"tslint": "^5.20.1",