aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorUri Shaked2019-11-20 00:01:29 +0200
committerUri Shaked2019-11-20 00:01:29 +0200
commit6af39f4ccdb8421558dce33409848feca54d00f6 (patch)
tree6e3bf673a44c98eddaa89cd5a93dad42ff435e64 /package.json
parentfeat: more instructions (diff)
downloadavr8js-6af39f4ccdb8421558dce33409848feca54d00f6.tar.gz
avr8js-6af39f4ccdb8421558dce33409848feca54d00f6.tar.bz2
avr8js-6af39f4ccdb8421558dce33409848feca54d00f6.zip
chore: rimraf dist before build
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",