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", "jquery": "^2.2.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",
"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", "ng2-translate": "^1.11.2",
"reflect-metadata": "0.1.2", "reflect-metadata": "0.1.2",
"rxjs": "5.0.0-beta.2", "rxjs": "5.0.0-beta.2",
@@ -60,5 +65,8 @@
"lite-server": "^2.2.0", "lite-server": "^2.2.0",
"typescript": "^1.8.10", "typescript": "^1.8.10",
"typings": "^0.7.12" "typings": "^0.7.12"
},
"publishConfig": {
"registry": "http://52.16.120.219:4873/"
} }
} }

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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