mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
@@ -4,14 +4,14 @@
|
||||
"version": "0.1.0",
|
||||
"author": "Alfresco Software, Ltd.",
|
||||
"scripts": {
|
||||
"clean": "rm -rf node_modules typings",
|
||||
"clean": "rimraf node_modules typings",
|
||||
"start": "npm run tslint && typings install && concurrently \"npm run tsc:w\" \"license-check\" \"npm run serve\" ",
|
||||
"tsc": "tsc",
|
||||
"tsc:w": "tsc -w",
|
||||
"serve": "node browser-sync-config.js",
|
||||
"typings": "typings install",
|
||||
"tslint": "npm run tslint-src && npm run tslint-root",
|
||||
"tslint-src": "tslint -c tslint.json app/**/*.ts",
|
||||
"tslint-src": "tslint -c tslint.json app/{,**/}**.ts",
|
||||
"tslint-root": "tslint -c tslint.json *.ts",
|
||||
"licensecheck": "license-check"
|
||||
},
|
||||
@@ -80,7 +80,8 @@
|
||||
"ng2-alfresco-login": "^0.1.0",
|
||||
"ng2-alfresco-search": "^0.1.9",
|
||||
"ng2-alfresco-upload": "^0.1.0",
|
||||
"ng2-alfresco-viewer": "^0.1.13"
|
||||
"ng2-alfresco-viewer": "^0.1.13",
|
||||
"rimraf": "^2.5.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"browser-sync": "^2.10.0",
|
||||
|
@@ -4,18 +4,21 @@
|
||||
"version": "0.1.34",
|
||||
"author": "Alfresco Software, Ltd.",
|
||||
"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": "npm run tslint && typings install && rimraf dist && tsc && npm run copytemplates && 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 && npm run copy-css && npm run copy-i18n",
|
||||
"copy-html": "copyfiles './src/**/*.html' dist",
|
||||
"copy-css": "copyfiles './src/**/*.css' dist",
|
||||
"copy-i18n": "copyfiles './i18n/**/*.json' dist",
|
||||
"copytemplates": "npm run copy-html-css && npm run copy-i18n",
|
||||
"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-images": "cpx \"./src/**/*.{png,jpg,gif,svg}\" ./dist/src",
|
||||
"copy-images:w": "cpx \"./src/**/*.{png,jpg,gif,svg}\" ./dist/src -w",
|
||||
"licensecheck": "license-check",
|
||||
"tsc": "tsc",
|
||||
"pretest": "npm run build",
|
||||
@@ -61,16 +64,17 @@
|
||||
"@angular/router": "2.0.0-rc.2",
|
||||
"@angular/router-deprecated": "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",
|
||||
"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": {
|
||||
"copyfiles": "^0.2.1",
|
||||
"cpx": "^1.3.1",
|
||||
"coveralls": "^2.11.9",
|
||||
"http-server": "0.8.5",
|
||||
"jasmine-ajax": "^3.2.0",
|
||||
|
@@ -11,14 +11,14 @@
|
||||
],
|
||||
"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-src": "tslint -c tslint.json src/{,**/}**.ts",
|
||||
"tslint-root": "tslint -c tslint.json *.ts"
|
||||
},
|
||||
"license": "Apache-2.0",
|
||||
@@ -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",
|
||||
|
@@ -4,21 +4,21 @@
|
||||
"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",
|
||||
"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",
|
||||
@@ -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",
|
||||
|
@@ -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",
|
||||
@@ -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",
|
||||
|
@@ -4,23 +4,23 @@
|
||||
"version": "0.1.27",
|
||||
"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 && npm run copy-images",
|
||||
"copytemplates:w": "concurrently \"npm run copy-html-css:w\" \"npm run copy-i18n:w\" \"npm run copy-images: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-images": "cpx './src/**/*.{png,jpg,gif,svg}' dist/src",
|
||||
"copy-images:w": "cpx './src/**/*.{png,jpg,gif,svg}' dist/src -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-images": "cpx \"./src/**/*.{png,jpg,gif,svg}\" ./dist/src",
|
||||
"copy-images:w": "cpx \"./src/**/*.{png,jpg,gif,svg}\" ./dist/src -w",
|
||||
"tsc": "tsc",
|
||||
"tsc:w": "tsc -w",
|
||||
"pretest": "npm run build",
|
||||
@@ -74,7 +74,8 @@
|
||||
"angular2-in-memory-web-api": "0.0.12",
|
||||
"ng2-alfresco-core": "^0.1.0",
|
||||
"alfresco-js-api": "^0.1.0",
|
||||
"ng2-translate": "2.2.0"
|
||||
"ng2-translate": "2.2.0",
|
||||
"rimraf": "^2.5.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"concurrently": "^2.1.0",
|
||||
|
@@ -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-alfresco-login": "^0.1.0",
|
||||
"ng2-translate": "2.2.0"
|
||||
"ng2-translate": "2.2.0",
|
||||
"rimraf": "^2.5.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"browser-sync": "^2.10.0",
|
||||
|
@@ -4,23 +4,23 @@
|
||||
"version": "0.1.20",
|
||||
"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 && npm run copy-images",
|
||||
"copytemplates:w": "concurrently \"npm run copy-html-css:w\" \"npm run copy-images: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-images": "cpx './src/**/*.{png,jpg,gif,svg}' dist/src",
|
||||
"copy-images:w": "cpx './src/**/*.{png,jpg,gif,svg}' dist/src -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-images": "cpx \"./src/**/*.{png,jpg,gif,svg}\" ./dist/src",
|
||||
"copy-images:w": "cpx \"./src/**/*.{png,jpg,gif,svg}\" ./dist/src -w",
|
||||
"tsc": "tsc",
|
||||
"tsc:w": "tsc -w",
|
||||
"pretest": "npm run build",
|
||||
@@ -82,7 +82,8 @@
|
||||
"angular2-in-memory-web-api": "0.0.12",
|
||||
"ng2-alfresco-core": "^0.1.0",
|
||||
"alfresco-js-api": "^0.1.0",
|
||||
"ng2-translate": "2.2.0"
|
||||
"ng2-translate": "2.2.0",
|
||||
"rimraf": "^2.5.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"concurrently": "^2.1.0",
|
||||
|
@@ -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",
|
||||
"postinstall": "npm run typings && npm run build",
|
||||
"typings": "typings install",
|
||||
"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 @@
|
||||
"ng2-translate": "2.2.0",
|
||||
"alfresco-js-api": "^0.1.0",
|
||||
"ng2-alfresco-core": "^0.1.0",
|
||||
"ng2-alfresco-search": "^0.1.12"
|
||||
"ng2-alfresco-search": "^0.1.12",
|
||||
"rimraf": "^2.5.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"browser-sync": "^2.10.0",
|
||||
|
@@ -4,23 +4,23 @@
|
||||
"version": "0.1.20",
|
||||
"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 && npm run copy-images",
|
||||
"copytemplates:w": "concurrently \"npm run copy-html-css:w\" \"npm run copy-i18n:w\" \"npm run copy-images: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-images": "cpx './src/**/*.{png,jpg,gif,svg}' dist/src",
|
||||
"copy-images:w": "cpx './src/**/*.{png,jpg,gif,svg}' dist/src -w",
|
||||
"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",
|
||||
"copy-images": "cpx \"./src/**/*.{png,jpg,gif,svg}\" ./dist/src",
|
||||
"copy-images:w": "cpx \"./src/**/*.{png,jpg,gif,svg}\" ./dist/src -w",
|
||||
"tsc": "tsc",
|
||||
"tsc:w": "tsc -w",
|
||||
"pretest": "npm run build",
|
||||
@@ -70,7 +70,8 @@
|
||||
"angular2-in-memory-web-api": "0.0.12",
|
||||
"alfresco-js-api": "^0.1.0",
|
||||
"ng2-alfresco-core": "^0.1.25",
|
||||
"ng2-translate": "2.2.0"
|
||||
"ng2-translate": "2.2.0",
|
||||
"rimraf": "^2.5.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"concurrently": "^2.1.0",
|
||||
|
@@ -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",
|
||||
|
@@ -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",
|
||||
|
@@ -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",
|
||||
@@ -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",
|
||||
|
@@ -1,25 +1,25 @@
|
||||
{
|
||||
"name": "ng2-alfresco-viewer",
|
||||
"description": "Alfresco documents viewer",
|
||||
"version": "0.1.21",
|
||||
"version": "0.1.22",
|
||||
"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",
|
||||
"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",
|
||||
@@ -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",
|
||||
|
@@ -36,7 +36,7 @@ export class NotSupportedFormat {
|
||||
/**
|
||||
* Download file opening it in a new window
|
||||
*/
|
||||
private download() {
|
||||
download() {
|
||||
window.open(this.urlFile);
|
||||
}
|
||||
}
|
||||
|
@@ -151,7 +151,7 @@ export class ViewerComponent {
|
||||
*
|
||||
* @returns {boolean}
|
||||
*/
|
||||
private supportedExtension() {
|
||||
supportedExtension() {
|
||||
return this.isImage() || this.isPdf();
|
||||
}
|
||||
|
||||
|
@@ -8,11 +8,20 @@
|
||||
"sourceMap": true,
|
||||
"removeComments": true,
|
||||
"declaration": true,
|
||||
"noLib": false,
|
||||
"allowUnreachableCode": false,
|
||||
"allowUnusedLabels": false,
|
||||
"noImplicitAny": false,
|
||||
"noImplicitReturns": false,
|
||||
"noImplicitUseStrict": false,
|
||||
"noFallthroughCasesInSwitch": true,
|
||||
"outDir": "dist"
|
||||
},
|
||||
"exclude": [
|
||||
"demo",
|
||||
"node_modules",
|
||||
"typings/main",
|
||||
"typings/main.d.ts",
|
||||
"dist"
|
||||
]
|
||||
}
|
||||
|
Reference in New Issue
Block a user