replace rm with cross platform tool

This commit is contained in:
Mario Romano
2016-06-20 17:22:00 +01:00
parent 9b7551aaf4
commit 696af117e7

View File

@@ -4,11 +4,11 @@
"version": "0.1.34", "version": "0.1.34",
"author": "Alfresco Software, Ltd.", "author": "Alfresco Software, Ltd.",
"scripts": { "scripts": {
"clean": "rm -rf dist node_modules typings", "clean": "rimraf dist node_modules typings",
"typings": "typings install", "typings": "typings install",
"start": "npm run build && npm run server", "start": "npm run build && npm run server",
"server": "http-server -c-1 -o -p 8875 .", "server": "http-server -c-1 -o -p 8875 .",
"build": "npm run tslint && typings install && rm -rf dist && tsc && npm run copytemplates && license-check", "build": "npm run tslint && typings install && rimraf dist && tsc && npm run copytemplates && license-check",
"tslint": "npm run tslint-src && npm run tslint-root", "tslint": "npm run tslint-src && npm run tslint-root",
"tslint-src": "tslint -c tslint.json src/**/*.ts", "tslint-src": "tslint -c tslint.json src/**/*.ts",
"tslint-root": "tslint -c tslint.json *.ts", "tslint-root": "tslint -c tslint.json *.ts",
@@ -61,13 +61,14 @@
"@angular/router": "2.0.0-rc.2", "@angular/router": "2.0.0-rc.2",
"@angular/router-deprecated": "2.0.0-rc.2", "@angular/router-deprecated": "2.0.0-rc.2",
"@angular/upgrade": "2.0.0-rc.2", "@angular/upgrade": "2.0.0-rc.2",
"systemjs": "0.19.27",
"core-js": "^2.4.0",
"reflect-metadata": "^0.1.3",
"rxjs": "5.0.0-beta.6",
"zone.js": "^0.6.12",
"angular2-in-memory-web-api": "0.0.12", "angular2-in-memory-web-api": "0.0.12",
"ng2-translate": "2.2.0" "core-js": "^2.4.0",
"ng2-translate": "2.2.0",
"reflect-metadata": "^0.1.3",
"rimraf": "^2.5.2",
"rxjs": "5.0.0-beta.6",
"systemjs": "0.19.27",
"zone.js": "^0.6.12"
}, },
"devDependencies": { "devDependencies": {
"copyfiles": "^0.2.1", "copyfiles": "^0.2.1",