fix clean script, remove typing folder and install rimraf if is not present

This commit is contained in:
Eugenio Romano
2016-09-30 09:42:53 +01:00
parent f3775b8c41
commit b309961edb
19 changed files with 35 additions and 35 deletions

View File

@@ -6,7 +6,7 @@
"main": "./dist/index.js",
"typings": "./dist/index.d.ts",
"scripts": {
"clean": "rimraf dist node_modules",
"clean": "npm install rimraf && rimraf dist node_modules typings",
"build": "npm run tslint && rimraf dist && tsc && npm run copy-dist && license-check",
"build:w": "npm run tslint && rimraf dist && npm run watch-task",
"watch-task": "concurrently \"npm run tsc:w\" \"npm run copy-dist:w\" \"license-check\"",