diff --git a/ng2-components/ng2-alfresco-core/package.json b/ng2-components/ng2-alfresco-core/package.json index 36a1af35de..834d60ee9c 100644 --- a/ng2-components/ng2-alfresco-core/package.json +++ b/ng2-components/ng2-alfresco-core/package.json @@ -10,7 +10,7 @@ "server": "http-server -c-1 -o -p 8875 .", "build": "npm run tslint && typings install && rm -rf dist && tsc && npm run copytemplates && license-check", "tslint": "npm run tslint-src && npm run tslint-root", - "tslint-src": "tslint -c tslint.json src/**/*.ts, src/**/*.spec.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", diff --git a/ng2-components/ng2-alfresco-core/src/services/AlfrescoAuthenticationService.service.ts b/ng2-components/ng2-alfresco-core/src/services/AlfrescoAuthenticationService.service.ts index 22e728e6fe..77dcae454e 100644 --- a/ng2-components/ng2-alfresco-core/src/services/AlfrescoAuthenticationService.service.ts +++ b/ng2-components/ng2-alfresco-core/src/services/AlfrescoAuthenticationService.service.ts @@ -17,7 +17,7 @@ import { Injectable } from '@angular/core'; import { Observable } from 'rxjs/Rx'; -import { Http, Headers, Response } from '@angular/http'; +import { Response } from '@angular/http'; import { AlfrescoSettingsService } from './AlfrescoSettingsService.service'; declare let AlfrescoApi: any; @@ -129,7 +129,7 @@ export class AlfrescoAuthenticationService { /** * Remove the login token from localStorage */ - public removeToken() :void { + public removeToken(): void { localStorage.removeItem('token'); } diff --git a/ng2-components/ng2-alfresco-datatable/package.json b/ng2-components/ng2-alfresco-datatable/package.json index 1bbde7c702..20b7093a3d 100644 --- a/ng2-components/ng2-alfresco-datatable/package.json +++ b/ng2-components/ng2-alfresco-datatable/package.json @@ -11,7 +11,7 @@ "build:w": "npm run tslint && typings install && rm -rf 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, src/**/*.spec.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\"", diff --git a/ng2-components/ng2-alfresco-documentlist/package.json b/ng2-components/ng2-alfresco-documentlist/package.json index f371d9fb5f..c9188e4a89 100644 --- a/ng2-components/ng2-alfresco-documentlist/package.json +++ b/ng2-components/ng2-alfresco-documentlist/package.json @@ -11,7 +11,7 @@ "build:w": "npm run tslint && typings install && rm -rf 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, src/**/*.spec.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\"", diff --git a/ng2-components/ng2-alfresco-login/package.json b/ng2-components/ng2-alfresco-login/package.json index a8f0c6ca46..5a6f52b7f9 100644 --- a/ng2-components/ng2-alfresco-login/package.json +++ b/ng2-components/ng2-alfresco-login/package.json @@ -11,7 +11,7 @@ "build:w": "npm run tslint && typings install && rm -rf 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, src/**/*.spec.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\"", diff --git a/ng2-components/ng2-alfresco-search/package.json b/ng2-components/ng2-alfresco-search/package.json index 1f36203e34..f1f826e0dd 100644 --- a/ng2-components/ng2-alfresco-search/package.json +++ b/ng2-components/ng2-alfresco-search/package.json @@ -11,7 +11,7 @@ "build:w": "npm run tslint && typings install && rm -rf 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, src/**/*.spec.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\"", diff --git a/ng2-components/ng2-alfresco-upload/package.json b/ng2-components/ng2-alfresco-upload/package.json index cf4304dad9..34e24cb1f1 100644 --- a/ng2-components/ng2-alfresco-upload/package.json +++ b/ng2-components/ng2-alfresco-upload/package.json @@ -11,7 +11,7 @@ "build:w": "npm run tslint && typings install && rm -rf 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, src/**/*.spec.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\"", diff --git a/ng2-components/ng2-alfresco-viewer/README.md b/ng2-components/ng2-alfresco-viewer/README.md index cd95641cf1..46ea9374cd 100644 --- a/ng2-components/ng2-alfresco-viewer/README.md +++ b/ng2-components/ng2-alfresco-viewer/README.md @@ -10,7 +10,6 @@ ## Install - ```sh npm set registry http://devproducts.alfresco.me:4873 npm install --save ng2-alfresco-viewer diff --git a/ng2-components/ng2-alfresco-viewer/package.json b/ng2-components/ng2-alfresco-viewer/package.json index 3c4ab19ab8..a628a7b005 100644 --- a/ng2-components/ng2-alfresco-viewer/package.json +++ b/ng2-components/ng2-alfresco-viewer/package.json @@ -12,7 +12,7 @@ "build:w": "npm run tslint && typings install && rm -rf 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, src/**/*.spec.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\"",