cross platform rm

This commit is contained in:
Mario Romano
2016-06-20 17:50:31 +01:00
parent 696af117e7
commit 5aca16bef1
13 changed files with 62 additions and 49 deletions

View File

@@ -11,12 +11,12 @@
],
"main": "index.js",
"scripts": {
"clean": "rm -rf dist node_modules typings",
"clean": "rimraf dist node_modules typings",
"postinstall": "npm run typings && npm run build",
"typings": "typings install",
"start": "rm -rf dist && npm install && npm run server",
"start": "rimraf dist && npm install && npm run server",
"server": "wsrv -o",
"build": "npm run tslint && rm -rf dist && tsc",
"build": "npm run tslint && rimraf dist && tsc",
"tslint": "npm run tslint-src && npm run tslint-root",
"tslint-src": "tslint -c tslint.json src/**/*.ts",
"tslint-root": "tslint -c tslint.json *.ts"
@@ -38,6 +38,7 @@
"rxjs": "5.0.0-beta.6",
"zone.js": "^0.6.12",
"angular2-in-memory-web-api": "0.0.12",
"rimraf": "^2.5.2",
"material-design-icons": "^2.2.3",
"material-design-lite": "^1.1.3",

View File

@@ -4,11 +4,11 @@
"version": "0.1.11",
"author": "Alfresco Software, Ltd.",
"scripts": {
"clean": "rm -rf dist node_modules typings",
"clean": "rimraf dist node_modules typings",
"typings": "typings install",
"server": "wsrv -o -p 9875",
"build": "npm run tslint && typings install && rm -rf dist && tsc && npm run copytemplates && license-check",
"build:w": "npm run tslint && typings install && rm -rf dist && npm run watch-task",
"build": "npm run tslint && typings install && rimraf dist && tsc && npm run copytemplates && license-check",
"build:w": "npm run tslint && typings install && rimraf dist && npm run watch-task",
"watch-task": "concurrently \"npm run tsc:w\" \"npm run copytemplates:w\" \"license-check\"",
"tslint": "npm run tslint-src && npm run tslint-root",
"tslint-src": "tslint -c tslint.json src/**/*.ts",
@@ -65,7 +65,8 @@
"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",
"rimraf": "^2.5.2"
},
"peerDependencies": {
"material-design-icons": "^2.2.3",