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",
|
"version": "0.1.0",
|
||||||
"author": "Alfresco Software, Ltd.",
|
"author": "Alfresco Software, Ltd.",
|
||||||
"scripts": {
|
"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\" ",
|
"start": "npm run tslint && typings install && concurrently \"npm run tsc:w\" \"license-check\" \"npm run serve\" ",
|
||||||
"tsc": "tsc",
|
"tsc": "tsc",
|
||||||
"tsc:w": "tsc -w",
|
"tsc:w": "tsc -w",
|
||||||
"serve": "node browser-sync-config.js",
|
"serve": "node browser-sync-config.js",
|
||||||
"typings": "typings install",
|
"typings": "typings install",
|
||||||
"tslint": "npm run tslint-src && npm run tslint-root",
|
"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",
|
"tslint-root": "tslint -c tslint.json *.ts",
|
||||||
"licensecheck": "license-check"
|
"licensecheck": "license-check"
|
||||||
},
|
},
|
||||||
@@ -80,7 +80,8 @@
|
|||||||
"ng2-alfresco-login": "^0.1.0",
|
"ng2-alfresco-login": "^0.1.0",
|
||||||
"ng2-alfresco-search": "^0.1.9",
|
"ng2-alfresco-search": "^0.1.9",
|
||||||
"ng2-alfresco-upload": "^0.1.0",
|
"ng2-alfresco-upload": "^0.1.0",
|
||||||
"ng2-alfresco-viewer": "^0.1.13"
|
"ng2-alfresco-viewer": "^0.1.13",
|
||||||
|
"rimraf": "^2.5.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"browser-sync": "^2.10.0",
|
"browser-sync": "^2.10.0",
|
||||||
|
@@ -4,18 +4,21 @@
|
|||||||
"version": "0.1.34",
|
"version": "0.1.34",
|
||||||
"author": "Alfresco Software, Ltd.",
|
"author": "Alfresco Software, Ltd.",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"clean": "rm -rf dist node_modules typings",
|
"clean": "rimraf dist node_modules typings",
|
||||||
"typings": "typings install",
|
"typings": "typings install",
|
||||||
"start": "npm run build && npm run server",
|
"start": "npm run build && npm run server",
|
||||||
"server": "http-server -c-1 -o -p 8875 .",
|
"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": "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",
|
"tslint-root": "tslint -c tslint.json *.ts",
|
||||||
"copytemplates": "npm run copy-html && npm run copy-css && npm run copy-i18n",
|
"copytemplates": "npm run copy-html-css && npm run copy-i18n",
|
||||||
"copy-html": "copyfiles './src/**/*.html' dist",
|
"copy-html-css": "cpx \"./src/**/*.{html,css}\" ./dist/src",
|
||||||
"copy-css": "copyfiles './src/**/*.css' dist",
|
"copy-html-css:w": "cpx \"./src/**/*.{html,css}\" ./dist/src -w",
|
||||||
"copy-i18n": "copyfiles './i18n/**/*.json' dist",
|
"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",
|
"licensecheck": "license-check",
|
||||||
"tsc": "tsc",
|
"tsc": "tsc",
|
||||||
"pretest": "npm run build",
|
"pretest": "npm run build",
|
||||||
@@ -61,16 +64,17 @@
|
|||||||
"@angular/router": "2.0.0-rc.2",
|
"@angular/router": "2.0.0-rc.2",
|
||||||
"@angular/router-deprecated": "2.0.0-rc.2",
|
"@angular/router-deprecated": "2.0.0-rc.2",
|
||||||
"@angular/upgrade": "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",
|
"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": {
|
"devDependencies": {
|
||||||
"copyfiles": "^0.2.1",
|
"cpx": "^1.3.1",
|
||||||
"coveralls": "^2.11.9",
|
"coveralls": "^2.11.9",
|
||||||
"http-server": "0.8.5",
|
"http-server": "0.8.5",
|
||||||
"jasmine-ajax": "^3.2.0",
|
"jasmine-ajax": "^3.2.0",
|
||||||
|
@@ -11,14 +11,14 @@
|
|||||||
],
|
],
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"clean": "rm -rf dist node_modules typings",
|
"clean": "rimraf dist node_modules typings",
|
||||||
"postinstall": "npm run typings && npm run build",
|
"postinstall": "npm run typings && npm run build",
|
||||||
"typings": "typings install",
|
"typings": "typings install",
|
||||||
"start": "rm -rf dist && npm install && npm run server",
|
"start": "rimraf dist && npm install && npm run server",
|
||||||
"server": "wsrv -o",
|
"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": "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"
|
"tslint-root": "tslint -c tslint.json *.ts"
|
||||||
},
|
},
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
@@ -38,6 +38,7 @@
|
|||||||
"rxjs": "5.0.0-beta.6",
|
"rxjs": "5.0.0-beta.6",
|
||||||
"zone.js": "^0.6.12",
|
"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",
|
||||||
|
|
||||||
"material-design-icons": "^2.2.3",
|
"material-design-icons": "^2.2.3",
|
||||||
"material-design-lite": "^1.1.3",
|
"material-design-lite": "^1.1.3",
|
||||||
|
@@ -4,21 +4,21 @@
|
|||||||
"version": "0.1.11",
|
"version": "0.1.11",
|
||||||
"author": "Alfresco Software, Ltd.",
|
"author": "Alfresco Software, Ltd.",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"clean": "rm -rf dist node_modules typings",
|
"clean": "rimraf dist node_modules typings",
|
||||||
"typings": "typings install",
|
"typings": "typings install",
|
||||||
"server": "wsrv -o -p 9875",
|
"server": "wsrv -o -p 9875",
|
||||||
"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",
|
||||||
"build:w": "npm run tslint && typings install && rm -rf dist && npm run watch-task",
|
"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\"",
|
"watch-task": "concurrently \"npm run tsc:w\" \"npm run copytemplates:w\" \"license-check\"",
|
||||||
"tslint": "npm run tslint-src && npm run tslint-root",
|
"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",
|
"tslint-root": "tslint -c tslint.json *.ts",
|
||||||
"copytemplates": "npm run copy-html-css && npm run copy-i18n",
|
"copytemplates": "npm run copy-html-css && npm run copy-i18n",
|
||||||
"copytemplates:w": "concurrently \"npm run copy-html-css:w\" \"npm run copy-i18n:w\"",
|
"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": "cpx \"./src/**/*.{html,css}\" ./dist/src",
|
||||||
"copy-html-css:w": "cpx './src/**/*.{html,css}' dist/src -w",
|
"copy-html-css:w": "cpx \"./src/**/*.{html,css}\" ./dist/src -w",
|
||||||
"copy-i18n": "cpx './i18n/**/*.json' dist/i18n",
|
"copy-i18n": "cpx \"./i18n/**/*.json\" ./dist/i18n",
|
||||||
"copy-i18n:w": "cpx './i18n/**/*.json' dist/i18n -w",
|
"copy-i18n:w": "cpx \"./i18n/**/*.json\" ./dist/i18n -w",
|
||||||
"tsc": "tsc",
|
"tsc": "tsc",
|
||||||
"tsc:w": "tsc -w",
|
"tsc:w": "tsc -w",
|
||||||
"pretest": "npm run build",
|
"pretest": "npm run build",
|
||||||
@@ -65,7 +65,8 @@
|
|||||||
"reflect-metadata": "^0.1.3",
|
"reflect-metadata": "^0.1.3",
|
||||||
"rxjs": "5.0.0-beta.6",
|
"rxjs": "5.0.0-beta.6",
|
||||||
"zone.js": "^0.6.12",
|
"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": {
|
"peerDependencies": {
|
||||||
"material-design-icons": "^2.2.3",
|
"material-design-icons": "^2.2.3",
|
||||||
|
@@ -5,15 +5,15 @@
|
|||||||
"author": "Alfresco Software, Ltd.",
|
"author": "Alfresco Software, Ltd.",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"clean": "rm -rf dist node_modules typings",
|
"clean": "rimraf dist node_modules typings",
|
||||||
"typings": "typings install",
|
"typings": "typings install",
|
||||||
"postinstall": "npm run typings && npm run build",
|
"postinstall": "npm run typings && npm run build",
|
||||||
"start": "npm install && npm run typings && concurrently \"npm run build:w\" \"npm run server\" ",
|
"start": "npm install && npm run typings && concurrently \"npm run build:w\" \"npm run server\" ",
|
||||||
"server": "node browser-sync-config.js",
|
"server": "node browser-sync-config.js",
|
||||||
"build": "npm run tslint && rm -rf dist && tsc",
|
"build": "npm run tslint && rimraf dist && tsc",
|
||||||
"build:w": "npm run tslint && rm -rf dist && tsc -w",
|
"build:w": "npm run tslint && rimraf dist && tsc -w",
|
||||||
"tslint": "npm run tslint-src && npm run tslint-root",
|
"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"
|
"tslint-root": "tslint -c tslint.json *.ts"
|
||||||
},
|
},
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
@@ -37,7 +37,8 @@
|
|||||||
"material-design-lite": "^1.1.3",
|
"material-design-lite": "^1.1.3",
|
||||||
"ng2-alfresco-documentlist": "^0.1.16",
|
"ng2-alfresco-documentlist": "^0.1.16",
|
||||||
"alfresco-js-api": "^0.1.0",
|
"alfresco-js-api": "^0.1.0",
|
||||||
"ng2-translate": "2.2.0"
|
"ng2-translate": "2.2.0",
|
||||||
|
"rimraf": "^2.5.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"browser-sync": "^2.10.0",
|
"browser-sync": "^2.10.0",
|
||||||
|
@@ -4,23 +4,23 @@
|
|||||||
"version": "0.1.27",
|
"version": "0.1.27",
|
||||||
"author": "Alfresco Software, Ltd.",
|
"author": "Alfresco Software, Ltd.",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"clean": "rm -rf dist node_modules typings",
|
"clean": "rimraf dist node_modules typings",
|
||||||
"typings": "typings install",
|
"typings": "typings install",
|
||||||
"server": "http-server -c-1 -o -p 8875 .",
|
"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",
|
||||||
"build:w": "npm run tslint && typings install && rm -rf dist && npm run watch-task",
|
"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\"",
|
"watch-task": "concurrently \"npm run tsc:w\" \"npm run copytemplates:w\" \"license-check\"",
|
||||||
"tslint": "npm run tslint-src && npm run tslint-root",
|
"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",
|
"tslint-root": "tslint -c tslint.json *.ts",
|
||||||
"copytemplates": "npm run copy-html-css && npm run copy-i18n && npm run copy-images",
|
"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\"",
|
"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": "cpx \"./src/**/*.{html,css}\" ./dist/src",
|
||||||
"copy-html-css:w": "cpx './src/**/*.{html,css}' dist/src -w",
|
"copy-html-css:w": "cpx \"./src/**/*.{html,css}\" ./dist/src -w",
|
||||||
"copy-i18n": "cpx './i18n/**/*.json' dist/i18n",
|
"copy-i18n": "cpx \"./i18n/**/*.json\" ./dist/i18n",
|
||||||
"copy-i18n:w": "cpx './i18n/**/*.json' dist/i18n -w",
|
"copy-i18n:w": "cpx \"./i18n/**/*.json\" ./dist/i18n -w",
|
||||||
"copy-images": "cpx './src/**/*.{png,jpg,gif,svg}' dist/src",
|
"copy-images": "cpx \"./src/**/*.{png,jpg,gif,svg}\" ./dist/src",
|
||||||
"copy-images:w": "cpx './src/**/*.{png,jpg,gif,svg}' dist/src -w",
|
"copy-images:w": "cpx \"./src/**/*.{png,jpg,gif,svg}\" ./dist/src -w",
|
||||||
"tsc": "tsc",
|
"tsc": "tsc",
|
||||||
"tsc:w": "tsc -w",
|
"tsc:w": "tsc -w",
|
||||||
"pretest": "npm run build",
|
"pretest": "npm run build",
|
||||||
@@ -74,7 +74,8 @@
|
|||||||
"angular2-in-memory-web-api": "0.0.12",
|
"angular2-in-memory-web-api": "0.0.12",
|
||||||
"ng2-alfresco-core": "^0.1.0",
|
"ng2-alfresco-core": "^0.1.0",
|
||||||
"alfresco-js-api": "^0.1.0",
|
"alfresco-js-api": "^0.1.0",
|
||||||
"ng2-translate": "2.2.0"
|
"ng2-translate": "2.2.0",
|
||||||
|
"rimraf": "^2.5.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"concurrently": "^2.1.0",
|
"concurrently": "^2.1.0",
|
||||||
|
@@ -5,15 +5,15 @@
|
|||||||
"author": "Alfresco Software, Ltd.",
|
"author": "Alfresco Software, Ltd.",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"clean": "rm -rf dist node_modules typings",
|
"clean": "rimraf dist node_modules typings",
|
||||||
"typings": "typings install",
|
"typings": "typings install",
|
||||||
"postinstall": "npm run typings && npm run build",
|
"postinstall": "npm run typings && npm run build",
|
||||||
"start": "npm install && npm run typings && concurrently \"npm run build:w\" \"npm run server\" ",
|
"start": "npm install && npm run typings && concurrently \"npm run build:w\" \"npm run server\" ",
|
||||||
"server": "node browser-sync-config.js",
|
"server": "node browser-sync-config.js",
|
||||||
"build": "npm run tslint && rm -rf dist && tsc",
|
"build": "npm run tslint && rimraf dist && tsc",
|
||||||
"build:w": "npm run tslint && rm -rf dist && tsc -w",
|
"build:w": "npm run tslint && rimraf dist && tsc -w",
|
||||||
"tslint": "npm run tslint-src && npm run tslint-root",
|
"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"
|
"tslint-root": "tslint -c tslint.json *.ts"
|
||||||
},
|
},
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
@@ -67,7 +67,8 @@
|
|||||||
"alfresco-js-api": "^0.1.0",
|
"alfresco-js-api": "^0.1.0",
|
||||||
"ng2-alfresco-core": "^0.1.0",
|
"ng2-alfresco-core": "^0.1.0",
|
||||||
"ng2-alfresco-login": "^0.1.0",
|
"ng2-alfresco-login": "^0.1.0",
|
||||||
"ng2-translate": "2.2.0"
|
"ng2-translate": "2.2.0",
|
||||||
|
"rimraf": "^2.5.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"browser-sync": "^2.10.0",
|
"browser-sync": "^2.10.0",
|
||||||
|
@@ -4,23 +4,23 @@
|
|||||||
"version": "0.1.20",
|
"version": "0.1.20",
|
||||||
"author": "Alfresco Software, Ltd.",
|
"author": "Alfresco Software, Ltd.",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"clean": "rm -rf dist node_modules typings",
|
"clean": "rimraf dist node_modules typings",
|
||||||
"typings": "typings install",
|
"typings": "typings install",
|
||||||
"server": "http-server -c-1 -o -p 8875 .",
|
"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",
|
||||||
"build:w": "npm run tslint && typings install && rm -rf dist && npm run watch-task",
|
"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\"",
|
"watch-task": "concurrently \"npm run tsc:w\" \"npm run copytemplates:w\" \"license-check\"",
|
||||||
"tslint": "npm run tslint-src && npm run tslint-root",
|
"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",
|
"tslint-root": "tslint -c tslint.json *.ts",
|
||||||
"copytemplates": "npm run copy-html-css && npm run copy-i18n && npm run copy-images",
|
"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\"",
|
"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": "cpx \"./src/**/*.{html,css}\" ./dist/src",
|
||||||
"copy-html-css:w": "cpx './src/**/*.{html,css}' dist/src -w",
|
"copy-html-css:w": "cpx \"./src/**/*.{html,css}\" ./dist/src -w",
|
||||||
"copy-i18n": "cpx './i18n/**/*.json' dist/i18n",
|
"copy-i18n": "cpx \"./i18n/**/*.json\" ./dist/i18n",
|
||||||
"copy-i18n:w": "cpx './i18n/**/*.json' dist/i18n -w",
|
"copy-i18n:w": "cpx \"./i18n/**/*.json\" ./dist/i18n -w",
|
||||||
"copy-images": "cpx './src/**/*.{png,jpg,gif,svg}' dist/src",
|
"copy-images": "cpx \"./src/**/*.{png,jpg,gif,svg}\" ./dist/src",
|
||||||
"copy-images:w": "cpx './src/**/*.{png,jpg,gif,svg}' dist/src -w",
|
"copy-images:w": "cpx \"./src/**/*.{png,jpg,gif,svg}\" ./dist/src -w",
|
||||||
"tsc": "tsc",
|
"tsc": "tsc",
|
||||||
"tsc:w": "tsc -w",
|
"tsc:w": "tsc -w",
|
||||||
"pretest": "npm run build",
|
"pretest": "npm run build",
|
||||||
@@ -82,7 +82,8 @@
|
|||||||
"angular2-in-memory-web-api": "0.0.12",
|
"angular2-in-memory-web-api": "0.0.12",
|
||||||
"ng2-alfresco-core": "^0.1.0",
|
"ng2-alfresco-core": "^0.1.0",
|
||||||
"alfresco-js-api": "^0.1.0",
|
"alfresco-js-api": "^0.1.0",
|
||||||
"ng2-translate": "2.2.0"
|
"ng2-translate": "2.2.0",
|
||||||
|
"rimraf": "^2.5.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"concurrently": "^2.1.0",
|
"concurrently": "^2.1.0",
|
||||||
|
@@ -5,15 +5,15 @@
|
|||||||
"author": "Alfresco Software, Ltd.",
|
"author": "Alfresco Software, Ltd.",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"clean": "rm -rf dist node_modules typings",
|
"clean": "rimraf dist node_modules typings",
|
||||||
"postinstall": "npm run typings && npm run build",
|
"postinstall": "npm run typings && npm run build",
|
||||||
"typings": "typings install",
|
"typings": "typings install",
|
||||||
"start": "npm install && npm run typings && concurrently \"npm run build:w\" \"npm run server\" ",
|
"start": "npm install && npm run typings && concurrently \"npm run build:w\" \"npm run server\" ",
|
||||||
"server": "node browser-sync-config.js",
|
"server": "node browser-sync-config.js",
|
||||||
"build": "npm run tslint && rm -rf dist && tsc",
|
"build": "npm run tslint && rimraf dist && tsc",
|
||||||
"build:w": "npm run tslint && rm -rf dist && tsc -w",
|
"build:w": "npm run tslint && rimraf dist && tsc -w",
|
||||||
"tslint": "npm run tslint-src && npm run tslint-root",
|
"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"
|
"tslint-root": "tslint -c tslint.json *.ts"
|
||||||
},
|
},
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
@@ -67,7 +67,8 @@
|
|||||||
"ng2-translate": "2.2.0",
|
"ng2-translate": "2.2.0",
|
||||||
"alfresco-js-api": "^0.1.0",
|
"alfresco-js-api": "^0.1.0",
|
||||||
"ng2-alfresco-core": "^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": {
|
"devDependencies": {
|
||||||
"browser-sync": "^2.10.0",
|
"browser-sync": "^2.10.0",
|
||||||
|
@@ -4,23 +4,23 @@
|
|||||||
"version": "0.1.20",
|
"version": "0.1.20",
|
||||||
"author": "Alfresco Software, Ltd.",
|
"author": "Alfresco Software, Ltd.",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"clean": "rm -rf dist node_modules typings",
|
"clean": "rimraf dist node_modules typings",
|
||||||
"typings": "typings install",
|
"typings": "typings install",
|
||||||
"server": "http-server -c-1 -o -p 8875 .",
|
"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",
|
||||||
"build:w": "npm run tslint && typings install && rm -rf dist && npm run watch-task",
|
"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\"",
|
"watch-task": "concurrently \"npm run tsc:w\" \"npm run copytemplates:w\" \"license-check\"",
|
||||||
"tslint": "npm run tslint-src && npm run tslint-root",
|
"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",
|
"tslint-root": "tslint -c tslint.json *.ts",
|
||||||
"copytemplates": "npm run copy-html-css && npm run copy-i18n && npm run copy-images",
|
"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\"",
|
"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": "cpx \"./src/**/*.{html,css}\" ./dist/src",
|
||||||
"copy-html-css:w": "cpx './src/**/*.{html,css}' dist/src -w",
|
"copy-html-css:w": "cpx \"./src/**/*.{html,css}\" ./dist/src -w",
|
||||||
"copy-i18n": "cpx './i18n/**/*.json' dist/i18n",
|
"copy-i18n": "cpx \"./i18n/**/*.json\" ./dist/i18n",
|
||||||
"copy-images": "cpx './src/**/*.{png,jpg,gif,svg}' dist/src",
|
"copy-i18n:w": "cpx \"./i18n/**/*.json\" ./dist/i18n -w",
|
||||||
"copy-images:w": "cpx './src/**/*.{png,jpg,gif,svg}' dist/src -w",
|
"copy-images": "cpx \"./src/**/*.{png,jpg,gif,svg}\" ./dist/src",
|
||||||
"copy-i18n:w": "cpx './i18n/**/*.json' dist/i18n -w",
|
"copy-images:w": "cpx \"./src/**/*.{png,jpg,gif,svg}\" ./dist/src -w",
|
||||||
"tsc": "tsc",
|
"tsc": "tsc",
|
||||||
"tsc:w": "tsc -w",
|
"tsc:w": "tsc -w",
|
||||||
"pretest": "npm run build",
|
"pretest": "npm run build",
|
||||||
@@ -70,7 +70,8 @@
|
|||||||
"angular2-in-memory-web-api": "0.0.12",
|
"angular2-in-memory-web-api": "0.0.12",
|
||||||
"alfresco-js-api": "^0.1.0",
|
"alfresco-js-api": "^0.1.0",
|
||||||
"ng2-alfresco-core": "^0.1.25",
|
"ng2-alfresco-core": "^0.1.25",
|
||||||
"ng2-translate": "2.2.0"
|
"ng2-translate": "2.2.0",
|
||||||
|
"rimraf": "^2.5.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"concurrently": "^2.1.0",
|
"concurrently": "^2.1.0",
|
||||||
|
@@ -5,15 +5,15 @@
|
|||||||
"author": "Alfresco Software, Ltd.",
|
"author": "Alfresco Software, Ltd.",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"clean": "rm -rf dist node_modules typings",
|
"clean": "rimraf dist node_modules typings",
|
||||||
"typings": "typings install",
|
"typings": "typings install",
|
||||||
"postinstall": "npm run typings && npm run build",
|
"postinstall": "npm run typings && npm run build",
|
||||||
"start": "npm install && npm run typings && concurrently \"npm run build:w\" \"npm run server\" ",
|
"start": "npm install && npm run typings && concurrently \"npm run build:w\" \"npm run server\" ",
|
||||||
"server": "node browser-sync-config.js",
|
"server": "node browser-sync-config.js",
|
||||||
"build": "npm run tslint && rm -rf dist && tsc",
|
"build": "npm run tslint && rimraf dist && tsc",
|
||||||
"build:w": "npm run tslint && rm -rf dist && tsc -w",
|
"build:w": "npm run tslint && rimraf dist && tsc -w",
|
||||||
"tslint": "npm run tslint-src && npm run tslint-root",
|
"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"
|
"tslint-root": "tslint -c tslint.json *.ts"
|
||||||
},
|
},
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
@@ -67,7 +67,8 @@
|
|||||||
"alfresco-js-api": "^0.1.0",
|
"alfresco-js-api": "^0.1.0",
|
||||||
"ng2-alfresco-core": "^0.1.0",
|
"ng2-alfresco-core": "^0.1.0",
|
||||||
"ng2-translate": "2.2.0",
|
"ng2-translate": "2.2.0",
|
||||||
"ng2-alfresco-upload": "^0.1.0"
|
"ng2-alfresco-upload": "^0.1.0",
|
||||||
|
"rimraf": "^2.5.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"browser-sync": "^2.10.0",
|
"browser-sync": "^2.10.0",
|
||||||
|
@@ -4,21 +4,21 @@
|
|||||||
"version": "0.1.40",
|
"version": "0.1.40",
|
||||||
"author": "Alfresco Software, Ltd.",
|
"author": "Alfresco Software, Ltd.",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"clean": "rm -rf dist node_modules typings",
|
"clean": "rimraf dist node_modules typings",
|
||||||
"typings": "typings install",
|
"typings": "typings install",
|
||||||
"server": "http-server -c-1 -o -p 8875 .",
|
"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",
|
||||||
"build:w": "npm run tslint && typings install && rm -rf dist && npm run watch-task",
|
"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\"",
|
"watch-task": "concurrently \"npm run tsc:w\" \"npm run copytemplates:w\" \"license-check\"",
|
||||||
"tslint": "npm run tslint-src && npm run tslint-root",
|
"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",
|
"tslint-root": "tslint -c tslint.json *.ts",
|
||||||
"copytemplates": "npm run copy-html-css && npm run copy-i18n",
|
"copytemplates": "npm run copy-html-css && npm run copy-i18n",
|
||||||
"copytemplates:w": "concurrently \"npm run copy-html-css:w\" \"npm run copy-i18n:w\"",
|
"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": "cpx \"./src/**/*.{html,css}\" ./dist/src",
|
||||||
"copy-html-css:w": "cpx './src/**/*.{html,css}' dist/src -w",
|
"copy-html-css:w": "cpx \"./src/**/*.{html,css}\" ./dist/src -w",
|
||||||
"copy-i18n": "cpx './i18n/**/*.json' dist/i18n",
|
"copy-i18n": "cpx \"./i18n/**/*.json\" ./dist/i18n",
|
||||||
"copy-i18n:w": "cpx './i18n/**/*.json' dist/i18n -w",
|
"copy-i18n:w": "cpx \"./i18n/**/*.json\" ./dist/i18n -w",
|
||||||
"tsc": "tsc",
|
"tsc": "tsc",
|
||||||
"tsc:w": "tsc -w",
|
"tsc:w": "tsc -w",
|
||||||
"pretest": "npm run build",
|
"pretest": "npm run build",
|
||||||
@@ -77,7 +77,8 @@
|
|||||||
"angular2-in-memory-web-api": "0.0.12",
|
"angular2-in-memory-web-api": "0.0.12",
|
||||||
"alfresco-js-api": "^0.1.0",
|
"alfresco-js-api": "^0.1.0",
|
||||||
"ng2-alfresco-core": "^0.1.0",
|
"ng2-alfresco-core": "^0.1.0",
|
||||||
"ng2-translate": "2.2.0"
|
"ng2-translate": "2.2.0",
|
||||||
|
"rimraf": "^2.5.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"concurrently": "^2.1.0",
|
"concurrently": "^2.1.0",
|
||||||
|
@@ -5,15 +5,15 @@
|
|||||||
"author": "Alfresco Software, Ltd.",
|
"author": "Alfresco Software, Ltd.",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"clean": "rm -rf dist node_modules typings",
|
"clean": "rimraf dist node_modules typings",
|
||||||
"typings": "typings install",
|
"typings": "typings install",
|
||||||
"postinstall": "npm run typings && npm run build",
|
"postinstall": "npm run typings && npm run build",
|
||||||
"start": "npm install && npm run typings && concurrently \"npm run build:w\" \"npm run server\" ",
|
"start": "npm install && npm run typings && concurrently \"npm run build:w\" \"npm run server\" ",
|
||||||
"server": "node browser-sync-config.js",
|
"server": "node browser-sync-config.js",
|
||||||
"build": "npm run tslint && rm -rf dist && tsc",
|
"build": "npm run tslint && rimraf dist && tsc",
|
||||||
"build:w": "npm run tslint && rm -rf dist && tsc -w",
|
"build:w": "npm run tslint && rimraf dist && tsc -w",
|
||||||
"tslint": "npm run tslint-src && npm run tslint-root",
|
"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"
|
"tslint-root": "tslint -c tslint.json *.ts"
|
||||||
},
|
},
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
@@ -35,7 +35,8 @@
|
|||||||
"angular2-in-memory-web-api": "0.0.12",
|
"angular2-in-memory-web-api": "0.0.12",
|
||||||
"ng2-alfresco-viewer": "file:../",
|
"ng2-alfresco-viewer": "file:../",
|
||||||
"material-design-icons": "^2.2.3",
|
"material-design-icons": "^2.2.3",
|
||||||
"material-design-lite": "^1.1.3"
|
"material-design-lite": "^1.1.3",
|
||||||
|
"rimraf": "^2.5.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"browser-sync": "^2.10.0",
|
"browser-sync": "^2.10.0",
|
||||||
|
@@ -1,25 +1,25 @@
|
|||||||
{
|
{
|
||||||
"name": "ng2-alfresco-viewer",
|
"name": "ng2-alfresco-viewer",
|
||||||
"description": "Alfresco documents viewer",
|
"description": "Alfresco documents viewer",
|
||||||
"version": "0.1.21",
|
"version": "0.1.22",
|
||||||
"author": "Eugenio Romano",
|
"author": "Eugenio Romano",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"clean": "rm -rf dist node_modules typings",
|
"clean": "rimraf dist node_modules typings",
|
||||||
"typings": "typings install",
|
"typings": "typings install",
|
||||||
"start": "npm run build && npm run server",
|
"start": "npm run build && npm run server",
|
||||||
"server": "http-server -c-1 -o -p 8875 .",
|
"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",
|
||||||
"build:w": "npm run tslint && typings install && rm -rf dist && npm run watch-task",
|
"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\"",
|
"watch-task": "concurrently \"npm run tsc:w\" \"npm run copytemplates:w\" \"license-check\"",
|
||||||
"tslint": "npm run tslint-src && npm run tslint-root",
|
"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",
|
"tslint-root": "tslint -c tslint.json *.ts",
|
||||||
"copytemplates": "npm run copy-html-css && npm run copy-i18n",
|
"copytemplates": "npm run copy-html-css && npm run copy-i18n",
|
||||||
"copytemplates:w": "concurrently \"npm run copy-html-css:w\" \"npm run copy-i18n:w\"",
|
"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": "cpx \"./src/**/*.{html,css}\" ./dist/src",
|
||||||
"copy-html-css:w": "cpx './src/**/*.{html,css}' dist/src -w",
|
"copy-html-css:w": "cpx \"./src/**/*.{html,css}\" ./dist/src -w",
|
||||||
"copy-i18n": "cpx './i18n/**/*.json' dist/i18n",
|
"copy-i18n": "cpx \"./i18n/**/*.json\" ./dist/i18n",
|
||||||
"copy-i18n:w": "cpx './i18n/**/*.json' dist/i18n -w",
|
"copy-i18n:w": "cpx \"./i18n/**/*.json\" ./dist/i18n -w",
|
||||||
"tsc": "tsc",
|
"tsc": "tsc",
|
||||||
"tsc:w": "tsc -w",
|
"tsc:w": "tsc -w",
|
||||||
"pretest": "npm run build",
|
"pretest": "npm run build",
|
||||||
@@ -69,7 +69,8 @@
|
|||||||
"rxjs": "5.0.0-beta.6",
|
"rxjs": "5.0.0-beta.6",
|
||||||
"zone.js": "^0.6.12",
|
"zone.js": "^0.6.12",
|
||||||
"angular2-in-memory-web-api": "0.0.12",
|
"angular2-in-memory-web-api": "0.0.12",
|
||||||
"pdfjs-dist": "^1.5.258"
|
"pdfjs-dist": "^1.5.258",
|
||||||
|
"rimraf": "^2.5.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"concurrently": "^2.1.0",
|
"concurrently": "^2.1.0",
|
||||||
|
@@ -36,7 +36,7 @@ export class NotSupportedFormat {
|
|||||||
/**
|
/**
|
||||||
* Download file opening it in a new window
|
* Download file opening it in a new window
|
||||||
*/
|
*/
|
||||||
private download() {
|
download() {
|
||||||
window.open(this.urlFile);
|
window.open(this.urlFile);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -244,9 +244,9 @@ export class PdfViewerComponent {
|
|||||||
@HostListener('document:keydown', ['$event'])
|
@HostListener('document:keydown', ['$event'])
|
||||||
handleKeyboardEvent(event: KeyboardEvent) {
|
handleKeyboardEvent(event: KeyboardEvent) {
|
||||||
let key = event.keyCode;
|
let key = event.keyCode;
|
||||||
if (key === 39) { //right arrow
|
if (key === 39) { // right arrow
|
||||||
this.nextPage();
|
this.nextPage();
|
||||||
} else if (key === 37) {//left arrow
|
} else if (key === 37) {// left arrow
|
||||||
this.previousPage();
|
this.previousPage();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -151,7 +151,7 @@ export class ViewerComponent {
|
|||||||
*
|
*
|
||||||
* @returns {boolean}
|
* @returns {boolean}
|
||||||
*/
|
*/
|
||||||
private supportedExtension() {
|
supportedExtension() {
|
||||||
return this.isImage() || this.isPdf();
|
return this.isImage() || this.isPdf();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -162,7 +162,7 @@ export class ViewerComponent {
|
|||||||
@HostListener('document:keydown', ['$event'])
|
@HostListener('document:keydown', ['$event'])
|
||||||
handleKeyboardEvent(event: KeyboardEvent) {
|
handleKeyboardEvent(event: KeyboardEvent) {
|
||||||
let key = event.keyCode;
|
let key = event.keyCode;
|
||||||
if (key === 27) { //esc
|
if (key === 27) { // esc
|
||||||
this.close();
|
this.close();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -8,11 +8,20 @@
|
|||||||
"sourceMap": true,
|
"sourceMap": true,
|
||||||
"removeComments": true,
|
"removeComments": true,
|
||||||
"declaration": true,
|
"declaration": true,
|
||||||
|
"noLib": false,
|
||||||
|
"allowUnreachableCode": false,
|
||||||
|
"allowUnusedLabels": false,
|
||||||
|
"noImplicitAny": false,
|
||||||
|
"noImplicitReturns": false,
|
||||||
|
"noImplicitUseStrict": false,
|
||||||
|
"noFallthroughCasesInSwitch": true,
|
||||||
"outDir": "dist"
|
"outDir": "dist"
|
||||||
},
|
},
|
||||||
"exclude": [
|
"exclude": [
|
||||||
"demo",
|
"demo",
|
||||||
"node_modules",
|
"node_modules",
|
||||||
|
"typings/main",
|
||||||
|
"typings/main.d.ts",
|
||||||
"dist"
|
"dist"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user