From 6af39f4ccdb8421558dce33409848feca54d00f6 Mon Sep 17 00:00:00 2001 From: Uri Shaked Date: Wed, 20 Nov 2019 00:01:29 +0200 Subject: chore: rimraf dist before build --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'package.json') 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", -- cgit v1.2.3