install rimraf pkg if not present during the clean in demo folders

This commit is contained in:
Eugenio Romano
2016-10-10 10:30:21 +01:00
parent dd33c0639b
commit 8ef8d43b9c
11 changed files with 11 additions and 11 deletions

View File

@@ -11,7 +11,7 @@
],
"main": "index.js",
"scripts": {
"clean": "rimraf dist node_modules",
"clean": "npm install rimraf && rimraf dist node_modules typings dist",
"postinstall": "npm run build",
"build": "npm run tslint && rimraf dist && npm run tsc",
"start": "npm run build && concurrently \"npm run tsc:w\" \"npm run server\" ",