Merge pull request #250 from Alfresco/dev-mromano-186

Dev mromano 186
This commit is contained in:
Mario Romano
2016-06-21 17:31:36 -07:00
committed by GitHub
18 changed files with 138 additions and 112 deletions

View File

@@ -5,15 +5,15 @@
"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-src": "tslint -c tslint.json src/{,**/}**.ts",
"tslint-root": "tslint -c tslint.json *.ts"
},
"license": "Apache-2.0",
@@ -67,7 +67,8 @@
"alfresco-js-api": "^0.1.0",
"ng2-alfresco-core": "^0.1.0",
"ng2-translate": "2.2.0",
"ng2-alfresco-upload": "^0.1.0"
"ng2-alfresco-upload": "^0.1.0",
"rimraf": "^2.5.2"
},
"devDependencies": {
"browser-sync": "^2.10.0",

View File

@@ -4,21 +4,21 @@
"version": "0.1.40",
"author": "Alfresco Software, Ltd.",
"scripts": {
"clean": "rm -rf dist node_modules typings",
"clean": "rimraf dist node_modules typings",
"typings": "typings install",
"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",
"tslint-src": "tslint -c tslint.json src/{,**/}**.ts",
"tslint-root": "tslint -c tslint.json *.ts",
"copytemplates": "npm run copy-html-css && npm run copy-i18n",
"copytemplates:w": "concurrently \"npm run copy-html-css:w\" \"npm run copy-i18n:w\"",
"copy-html-css": "cpx './src/**/*.{html,css}' dist/src",
"copy-html-css:w": "cpx './src/**/*.{html,css}' dist/src -w",
"copy-i18n": "cpx './i18n/**/*.json' dist/i18n",
"copy-i18n:w": "cpx './i18n/**/*.json' dist/i18n -w",
"copy-html-css": "cpx \"./src/**/*.{html,css}\" ./dist/src",
"copy-html-css:w": "cpx \"./src/**/*.{html,css}\" ./dist/src -w",
"copy-i18n": "cpx \"./i18n/**/*.json\" ./dist/i18n",
"copy-i18n:w": "cpx \"./i18n/**/*.json\" ./dist/i18n -w",
"tsc": "tsc",
"tsc:w": "tsc -w",
"pretest": "npm run build",
@@ -77,7 +77,8 @@
"angular2-in-memory-web-api": "0.0.12",
"alfresco-js-api": "^0.1.0",
"ng2-alfresco-core": "^0.1.0",
"ng2-translate": "2.2.0"
"ng2-translate": "2.2.0",
"rimraf": "^2.5.2"
},
"devDependencies": {
"concurrently": "^2.1.0",