clean on build and build:watch

This commit is contained in:
Kyle Spearrin 2018-04-18 13:45:31 -04:00
parent e8824c2c8b
commit e20e878b8b
1 changed files with 3 additions and 3 deletions

View File

@ -13,9 +13,9 @@
},
"license": "GPL-3.0",
"scripts": {
"prebuild": "rimraf dist/**/*",
"build": "tsc",
"build:watch": "tsc -watch",
"clean": "rimraf dist/**/*",
"build": "npm run clean && tsc",
"build:watch": "npm run clean && tsc -watch",
"lint": "tslint src/**/*.ts spec/**/*.ts || true",
"lint:fix": "tslint src/**/*.ts spec/**/*.ts --fix",
"test": "karma start ./spec/support/karma.conf.js --single-run",