npm registry

This commit is contained in:
Mario Romano
2016-05-19 13:05:35 +01:00
parent 9ec8123a2c
commit 74f14b63b8
13 changed files with 584 additions and 542 deletions

View File

@@ -47,6 +47,11 @@
"jquery": "^2.2.2",
"material-design-icons": "^2.2.3",
"material-design-lite": "^1.1.3",
"ng2-alfresco-core": "^0.1.0",
"ng2-alfresco-datatable": "^0.1.0",
"ng2-alfresco-documentlist": "^0.1.0",
"ng2-alfresco-login": "^0.1.0",
"ng2-alfresco-upload": "^0.1.0",
"ng2-translate": "^1.11.2",
"reflect-metadata": "0.1.2",
"rxjs": "5.0.0-beta.2",
@@ -60,5 +65,8 @@
"lite-server": "^2.2.0",
"typescript": "^1.8.10",
"typings": "^0.7.12"
},
"publishConfig": {
"registry": "http://52.16.120.219:4873/"
}
}

View File

@@ -1,16 +1,15 @@
{
"name": "ng2-alfresco-core",
"description": "Alfresco Angular 2 Components core",
"version": "0.1.0",
"version": "0.1.5",
"author": "Alfresco Software, Ltd.",
"scripts": {
"postinstall": "npm run build && typings install",
"typings": "typings install",
"start": "npm run test && 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-test && npm run tslint-src && npm run tslint-root",
"tslint-test": "tslint -c tslint.json test/**/*.ts",
"tslint-src": "tslint -c tslint.json src/**/*.ts",
"tslint": "npm run tslint-service && npm run tslint-material && npm run tslint-root",
"tslint-service": "tslint -c tslint.json services/**/*.ts",
"tslint-material": "tslint -c tslint.json material/**/*.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",
@@ -21,7 +20,8 @@
"pretest": "npm run build",
"test": "karma start karma.conf.js",
"posttest": "node_modules/.bin/remap-istanbul -i coverage/coverage-final.json -o coverage -t html",
"coverage": "http-server -c-1 -o -p 9875 ./coverage"
"coverage": "http-server -c-1 -o -p 9875 ./coverage",
"prepublish": "npm run build"
},
"repository": {
"type": "git",
@@ -92,5 +92,8 @@
"blocking": false,
"logInfo": false,
"logError": true
},
"publishConfig": {
"registry": "http://52.16.120.219:4873/"
}
}

View File

@@ -18,7 +18,7 @@
import { Injectable } from 'angular2/core';
import { Http, Response } from 'angular2/http';
import { TranslateLoader } from 'ng2-translate/ng2-translate';
import {Observable} from 'rxjs/Observable'
import { Observable } from 'rxjs/Observable';
@Injectable()
export class AlfrescoTranslationLoader implements TranslateLoader {
@@ -32,14 +32,16 @@ export class AlfrescoTranslationLoader implements TranslateLoader {
getTranslation(lang: string): Observable<any> {
return Observable.create(observer => {
Observable.forkJoin(
this.http.get(`${this.prefix}/${lang}${this.suffix}`).map((res: Response) => res.json()),
this.http.get('node_modules/ng2-alfresco-upload/' + `${this.prefix}/${lang}${this.suffix}`).map((res: Response) => res.json()),
this.http.get('node_modules/ng2-alfresco-login/' + `${this.prefix}/${lang}${this.suffix}`).map((res: Response) => res.json())
this.http.get('${this.prefix}/${lang}${this.suffix}').map((res: Response) => res.json()),
this.http.get('node_modules/ng2-alfresco-upload/' +
`${this.prefix}/${lang}${this.suffix}`).map((res: Response) => res.json()),
this.http.get('node_modules/ng2-alfresco-login/' +
`${this.prefix}/${lang}${this.suffix}`).map((res: Response) => res.json())
).subscribe(
data => {
let multiLanguage = JSON.parse((JSON.stringify(data[0])
+ JSON.stringify(data[1])
+ JSON.stringify(data[2])).replace(/}{/g, ","));
+ JSON.stringify(data[2])).replace(/}{/g, ','));
observer.next(multiLanguage);
observer.complete();
});

View File

@@ -1,15 +1,13 @@
{
"name": "ng2-alfresco-datatable",
"description": "Alfresco Angular2 DataTable Component",
"version": "0.1.0",
"version": "0.1.1",
"author": "Alfresco Software, Ltd.",
"scripts": {
"postinstall": "typings install && npm link ../ng2-alfresco-core && npm run build",
"typings": "typings install",
"start": "npm run test && 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-test && npm run tslint-src && npm run tslint-root",
"tslint-test": "tslint -c tslint.json test/**/*.ts",
"tslint": "npm run tslint-src && npm run tslint-root",
"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",
@@ -21,7 +19,8 @@
"pretest": "npm run build",
"test": "karma start karma.conf.js",
"posttest": "node_modules/.bin/remap-istanbul -i coverage/coverage-final.json -o coverage -t html",
"coverage": "http-server -c-1 -o -p 9875 ./coverage"
"coverage": "http-server -c-1 -o -p 9875 ./coverage",
"prepublish": "npm run build"
},
"repository": {
"type": "git",
@@ -50,6 +49,7 @@
"reflect-metadata": "0.1.2",
"rxjs": "5.0.0-beta.2",
"zone.js": "^0.6.12",
"ng2-alfresco-core": "^0.1.0",
"es6-module-loader": "^0.17.8"
},
"peerDependencies": {
@@ -86,5 +86,8 @@
"blocking": false,
"logInfo": false,
"logError": true
},
"publishConfig": {
"registry": "http://52.16.120.219:4873/"
}
}

View File

@@ -11,6 +11,7 @@
"outDir": "dist"
},
"exclude": [
"demo",
"node_modules",
"typings/main",
"typings/main.d.ts"

View File

@@ -31,5 +31,8 @@
"keywords": [
"angular2",
"typescript"
]
],
"publishConfig": {
"registry": "http://52.16.120.219:4873/"
}
}

View File

@@ -1,15 +1,13 @@
{
"name": "ng2-alfresco-documentlist",
"description": "Alfresco Angular2 Document List Component",
"version": "0.1.0",
"version": "0.1.1",
"author": "Alfresco Software, Ltd.",
"scripts": {
"postinstall": "typings install && npm link ../ng2-alfresco-core && npm run build",
"typings": "typings install",
"start": "npm run test && 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-test && npm run tslint-src && npm run tslint-root",
"tslint-test": "tslint -c tslint.json test/**/*.ts",
"tslint": "npm run tslint-src && npm run tslint-root",
"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",
@@ -21,7 +19,8 @@
"pretest": "npm run build",
"test": "karma start karma.conf.js",
"posttest": "node_modules/.bin/remap-istanbul -i coverage/coverage-final.json -o coverage -t html",
"coverage": "http-server -c-1 -o -p 9875 ./coverage"
"coverage": "http-server -c-1 -o -p 9875 ./coverage",
"prepublish": "npm run build"
},
"repository": {
"type": "git",
@@ -49,12 +48,13 @@
],
"dependencies": {
"angular2": "2.0.0-beta.15",
"systemjs": "0.19.26",
"es6-module-loader": "^0.17.8",
"es6-shim": "^0.35.0",
"ng2-alfresco-core": "^0.1.0",
"reflect-metadata": "0.1.2",
"rxjs": "5.0.0-beta.2",
"zone.js": "^0.6.12",
"es6-module-loader": "^0.17.8"
"systemjs": "0.19.26",
"zone.js": "^0.6.12"
},
"peerDependencies": {
"angular2": "2.0.0-beta.15"
@@ -90,5 +90,8 @@
"blocking": false,
"logInfo": false,
"logError": true
},
"publishConfig": {
"registry": "http://52.16.120.219:4873/"
}
}

View File

@@ -5,7 +5,7 @@
"author": "Alfresco Software, Ltd.",
"main": "index.js",
"scripts": {
"postinstall": "npm run typings && npm link ng2-alfresco-login",
"postinstall": "npm run typings",
"typings": "typings install",
"start": "npm run test && http-server -c-1 -o -p 8875 .",
"build": "rm -rf dist && tsc",
@@ -16,10 +16,11 @@
"angular2": "2.0.0-beta.13",
"es6-promise": "3.0.2",
"es6-shim": "0.35.0",
"ng2-alfresco-login": "^0.1.0",
"ng2-translate": "^1.11.2",
"reflect-metadata": "0.1.2",
"rxjs": "5.0.0-beta.2",
"zone.js": "0.6.6",
"ng2-translate": "^1.11.2"
"zone.js": "0.6.6"
},
"devDependencies": {
"http-server": "0.8.5",
@@ -30,5 +31,8 @@
"keywords": [
"angular2",
"typescript"
]
],
"publishConfig": {
"registry": "http://52.16.120.219:4873/"
}
}

View File

@@ -1,15 +1,13 @@
{
"name": "ng2-alfresco-login",
"description": "Alfresco Angular2 Login Component",
"version": "0.1.0",
"version": "0.1.1",
"author": "Alfresco Software, Ltd.",
"scripts": {
"postinstall": "npm run build && typings install",
"typings": "typings install",
"start": "npm run test && 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-test && npm run tslint-src && npm run tslint-root && npm run tslint-demo",
"tslint-test": "tslint -c tslint.json test/**/*.ts",
"tslint": "npm run tslint-src && npm run tslint-root && npm run tslint-demo",
"tslint-src": "tslint -c tslint.json src/**/*.ts",
"tslint-demo": "tslint -c tslint.json demo/**/*.ts",
"tslint-root": "tslint -c tslint.json *.ts",
@@ -22,7 +20,8 @@
"pretest": "npm run build",
"test": "karma start karma.conf.js",
"posttest": "node_modules/.bin/remap-istanbul -i coverage/coverage-final.json -o coverage -t html",
"coverage": "http-server -c-1 -o -p 9875 ./coverage"
"coverage": "http-server -c-1 -o -p 9875 ./coverage",
"prepublish": "npm run build"
},
"repository": {
"type": "git",
@@ -102,5 +101,8 @@
"blocking": false,
"logInfo": false,
"logError": true
},
"publishConfig": {
"registry": "http://52.16.120.219:4873/"
}
}

View File

@@ -5,7 +5,7 @@
"author": "Alfresco Software, Ltd.",
"main": "index.js",
"scripts": {
"postinstall": "npm run build && npm run typings && npm link ng2-alfresco-upload && npm link ng2-alfresco-core",
"postinstall": "npm run build && npm run typings",
"typings": "typings install",
"start": "rm -rf dist && npm install && http-server -c-1 -o -p 8875 .",
"build": "rm -rf dist && tsc"
@@ -15,12 +15,14 @@
"angular2": "2.0.0-beta.13",
"es6-promise": "3.0.2",
"es6-shim": "0.35.0",
"material-design-icons": "^2.2.3",
"material-design-lite": "^1.1.3",
"ng2-alfresco-core": "^0.1.0",
"ng2-alfresco-upload": "^0.1.0",
"ng2-translate": "^1.11.2",
"reflect-metadata": "0.1.2",
"rxjs": "5.0.0-beta.2",
"zone.js": "0.6.6",
"ng2-translate": "^1.11.2",
"material-design-icons": "^2.2.3",
"material-design-lite": "^1.1.3"
"zone.js": "0.6.6"
},
"devDependencies": {
"http-server": "0.8.5",
@@ -31,5 +33,8 @@
"keywords": [
"angular2",
"typescript"
]
],
"publishConfig": {
"registry": "http://52.16.120.219:4873/"
}
}

View File

@@ -1,15 +1,13 @@
{
"name": "ng2-alfresco-upload",
"description": "Alfresco Angular2 Upload Component",
"version": "0.1.0",
"version": "0.1.1",
"author": "Alfresco Software, Ltd.",
"scripts": {
"postinstall": "npm run build && typings install",
"typings": "typings install",
"start": "npm run test && 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-test && npm run tslint-src && npm run tslint-root",
"tslint-test": "tslint -c tslint.json test/**/*.ts",
"tslint": "npm run tslint-src && npm run tslint-root",
"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",
@@ -21,7 +19,8 @@
"pretest": "npm run build",
"test": "karma start karma.conf.js",
"posttest": "node_modules/.bin/remap-istanbul -i coverage/coverage-final.json -o coverage -t html",
"coverage": "http-server -c-1 -o -p 9875 ./coverage"
"coverage": "http-server -c-1 -o -p 9875 ./coverage",
"prepublish": "npm run build"
},
"repository": {
"type": "git",
@@ -49,13 +48,14 @@
],
"dependencies": {
"angular2": "2.0.0-beta.15",
"systemjs": "0.19.26",
"es6-module-loader": "^0.17.8",
"es6-shim": "^0.35.0",
"ng2-alfresco-core": "^0.1.0",
"ng2-translate": "^1.11.2",
"reflect-metadata": "0.1.2",
"rxjs": "5.0.0-beta.2",
"ng2-translate": "^1.11.2",
"zone.js": "^0.6.12",
"es6-module-loader": "^0.17.8"
"systemjs": "0.19.26",
"zone.js": "^0.6.12"
},
"peerDependencies": {
"angular2": "2.0.0-beta.15"
@@ -93,5 +93,8 @@
"blocking": false,
"logInfo": false,
"logError": true
},
"publishConfig": {
"registry": "http://52.16.120.219:4873/"
}
}

View File

@@ -31,5 +31,8 @@
"keywords": [
"angular2",
"typescript"
]
],
"publishConfig": {
"registry": "http://52.16.120.219:4873/"
}
}

View File

@@ -6,15 +6,13 @@
],
"name": "ng-2-alfresco-viewer",
"description": "Alfresco documents viewer",
"version": "0.1.0",
"version": "0.1.1",
"author": "Eugenio Romano",
"scripts": {
"postinstall": "npm run build && typings install",
"typings": "typings install",
"start": "npm run test && 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-test && npm run tslint-src && npm run tslint-root",
"tslint-test": "tslint -c tslint.json test/**/*.ts",
"tslint": "npm run tslint-src && npm run tslint-root",
"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",
@@ -27,7 +25,8 @@
"test": "karma start karma.conf.js",
"posttest": "node_modules/.bin/remap-istanbul -i coverage/coverage-final.json -o coverage -t html",
"coverage": "http-server -c-1 -o -p 9875 ./coverage",
"deploy": "http-server -c-1 -o -p 9875 ./demo/demo.html"
"deploy": "http-server -c-1 -o -p 9875 ./demo/demo.html",
"prepublish": "npm run build"
},
"repository": {
"type": "git",
@@ -87,5 +86,8 @@
"logInfo": false,
"logError": true
},
"license": "Apache-2.0"
"license": "Apache-2.0",
"publishConfig": {
"registry": "http://52.16.120.219:4873/"
}
}