mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
Fix tslint expression
This commit is contained in:
@@ -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",
|
||||
|
@@ -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');
|
||||
}
|
||||
|
||||
|
@@ -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\"",
|
||||
|
@@ -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\"",
|
||||
|
@@ -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\"",
|
||||
|
@@ -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\"",
|
||||
|
@@ -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\"",
|
||||
|
@@ -10,7 +10,6 @@
|
||||
|
||||
## Install
|
||||
|
||||
|
||||
```sh
|
||||
npm set registry http://devproducts.alfresco.me:4873
|
||||
npm install --save ng2-alfresco-viewer
|
||||
|
@@ -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\"",
|
||||
|
Reference in New Issue
Block a user