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

@@ -5,13 +5,13 @@
"author": "Alfresco Software, Ltd.",
"main": "index.js",
"scripts": {
"clean": "rm -rf dist node_modules typings",
"clean": "rimraf dist node_modules typings",
"typings": "typings install",
"postinstall": "npm run typings && npm run build",
"start": "npm install && npm run typings && concurrently \"npm run build:w\" \"npm run server\" ",
"server": "node browser-sync-config.js",
"build": "npm run tslint && rm -rf dist && tsc",
"build:w": "npm run tslint && rm -rf dist && tsc -w",
"build": "npm run tslint && rimraf dist && tsc",
"build:w": "npm run tslint && rimraf dist && tsc -w",
"tslint": "npm run tslint-src && npm run tslint-root",
"tslint-src": "tslint -c tslint.json src/**/*.ts",
"tslint-root": "tslint -c tslint.json *.ts"
@@ -35,7 +35,8 @@
"angular2-in-memory-web-api": "0.0.12",
"ng2-alfresco-viewer": "file:../",
"material-design-icons": "^2.2.3",
"material-design-lite": "^1.1.3"
"material-design-lite": "^1.1.3",
"rimraf": "^2.5.2"
},
"devDependencies": {
"browser-sync": "^2.10.0",

View File

@@ -4,12 +4,12 @@
"version": "0.1.21",
"author": "Eugenio Romano",
"scripts": {
"clean": "rm -rf dist node_modules typings",
"clean": "rimraf dist node_modules typings",
"typings": "typings install",
"start": "npm run build && npm run server",
"server": "http-server -c-1 -o -p 8875 .",
"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",
@@ -69,7 +69,8 @@
"rxjs": "5.0.0-beta.6",
"zone.js": "^0.6.12",
"angular2-in-memory-web-api": "0.0.12",
"pdfjs-dist": "^1.5.258"
"pdfjs-dist": "^1.5.258",
"rimraf": "^2.5.2"
},
"devDependencies": {
"concurrently": "^2.1.0",