clean on build and build:watch
This commit is contained in:
parent
e8824c2c8b
commit
e20e878b8b
|
@ -13,9 +13,9 @@
|
||||||
},
|
},
|
||||||
"license": "GPL-3.0",
|
"license": "GPL-3.0",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"prebuild": "rimraf dist/**/*",
|
"clean": "rimraf dist/**/*",
|
||||||
"build": "tsc",
|
"build": "npm run clean && tsc",
|
||||||
"build:watch": "tsc -watch",
|
"build:watch": "npm run clean && tsc -watch",
|
||||||
"lint": "tslint src/**/*.ts spec/**/*.ts || true",
|
"lint": "tslint src/**/*.ts spec/**/*.ts || true",
|
||||||
"lint:fix": "tslint src/**/*.ts spec/**/*.ts --fix",
|
"lint:fix": "tslint src/**/*.ts spec/**/*.ts --fix",
|
||||||
"test": "karma start ./spec/support/karma.conf.js --single-run",
|
"test": "karma start ./spec/support/karma.conf.js --single-run",
|
||||||
|
|
Loading…
Reference in New Issue