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"
@@ -37,7 +37,8 @@
"material-design-lite": "^1.1.3",
"ng2-alfresco-documentlist": "^0.1.16",
"alfresco-js-api": "^0.1.0",
"ng2-translate": "2.2.0"
"ng2-translate": "2.2.0",
"rimraf": "^2.5.2"
},
"devDependencies": {
"browser-sync": "^2.10.0",