diff --git a/demo-shell-ng2/package.json b/demo-shell-ng2/package.json index c2462a9a02..c6f190db6d 100644 --- a/demo-shell-ng2/package.json +++ b/demo-shell-ng2/package.json @@ -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/" } } diff --git a/ng2-components/ng2-alfresco-core/package.json b/ng2-components/ng2-alfresco-core/package.json index 90dc355bab..0f5e801426 100644 --- a/ng2-components/ng2-alfresco-core/package.json +++ b/ng2-components/ng2-alfresco-core/package.json @@ -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/" } } diff --git a/ng2-components/ng2-alfresco-core/services/AlfrescoTranslationService.ts b/ng2-components/ng2-alfresco-core/services/AlfrescoTranslationService.ts index 638448b295..6168b476c3 100644 --- a/ng2-components/ng2-alfresco-core/services/AlfrescoTranslationService.ts +++ b/ng2-components/ng2-alfresco-core/services/AlfrescoTranslationService.ts @@ -15,10 +15,10 @@ * limitations under the License. */ -import {Injectable} from 'angular2/core'; -import {Http, Response} from 'angular2/http'; -import {TranslateLoader} from 'ng2-translate/ng2-translate'; -import {Observable} from 'rxjs/Observable' +import { Injectable } from 'angular2/core'; +import { Http, Response } from 'angular2/http'; +import { TranslateLoader } from 'ng2-translate/ng2-translate'; +import { Observable } from 'rxjs/Observable'; @Injectable() export class AlfrescoTranslationLoader implements TranslateLoader { @@ -32,16 +32,18 @@ export class AlfrescoTranslationLoader implements TranslateLoader { getTranslation(lang: string): Observable { 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]) + let multiLanguage = JSON.parse((JSON.stringify(data[0]) + JSON.stringify(data[1]) - + JSON.stringify(data[2])).replace(/}{/g, ",")); - observer.next(multiLanguage); - observer.complete(); + + JSON.stringify(data[2])).replace(/}{/g, ',')); + observer.next(multiLanguage); + observer.complete(); }); }); } diff --git a/ng2-components/ng2-alfresco-datatable/package.json b/ng2-components/ng2-alfresco-datatable/package.json index 1eb82c2212..8748e8f795 100644 --- a/ng2-components/ng2-alfresco-datatable/package.json +++ b/ng2-components/ng2-alfresco-datatable/package.json @@ -1,90 +1,93 @@ { - "name": "ng2-alfresco-datatable", - "description": "Alfresco Angular2 DataTable Component", - "version": "0.1.0", - "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-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", - "copy-css": "copyfiles './src/**/*.css' dist", - "copy-i18n": "copyfiles './i18n/**/*.json' dist", - "licensecheck": "license-check", - "tsc": "tsc", - "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" - }, - "repository": { - "type": "git", - "url": "https://github.com/Alfresco/dev-platform-webcomponents.git" - }, - "bugs": { - "url": "https://github.com/Alfresco/dev-platform-webcomponents/issues" - }, - "license": "Apache-2.0", - "contributors": [ - { - "name": "Denys Vuika", - "email": "denis.vuyka@gmail.com" - } - ], - "keywords": [ - "ng2", - "angular", - "angular2", - "alfresco" - ], - "dependencies": { - "angular2": "2.0.0-beta.15", - "systemjs": "0.19.26", - "es6-shim": "^0.35.0", - "reflect-metadata": "0.1.2", - "rxjs": "5.0.0-beta.2", - "zone.js": "^0.6.12", - "es6-module-loader": "^0.17.8" - }, - "peerDependencies": { - "angular2": "2.0.0-beta.15" - }, - "devDependencies": { - "copyfiles": "^0.2.1", - "coveralls": "^2.11.9", - "http-server": "0.8.5", - "jasmine-core": "2.4.1", - "karma": "~0.13.22", - "karma-chrome-launcher": "~1.0.1", - "karma-coverage": "^1.0.0", - "karma-jasmine": "~1.0.2", - "karma-mocha-reporter": "^2.0.3", - "license-check": "^1.0.4", - "remap-istanbul": "^0.6.3", - "traceur": "^0.0.91", - "tslint": "^3.8.1", - "typescript": "^1.8.10", - "typings": "^0.7.12" - }, - "license-check-config": { - "src": [ - "**/*.js", - "**/*.ts", - "!/**/coverage/**/*", - "!/**/demo/**/*", - "!/**/node_modules/**/*", - "!/**/typings/**/*", - "!*.js" - ], - "path": "assets/license_header.txt", - "blocking": false, - "logInfo": false, - "logError": true + "name": "ng2-alfresco-datatable", + "description": "Alfresco Angular2 DataTable Component", + "version": "0.1.1", + "author": "Alfresco Software, Ltd.", + "scripts": { + "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-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", + "copy-html": "copyfiles './src/**/*.html' dist", + "copy-css": "copyfiles './src/**/*.css' dist", + "copy-i18n": "copyfiles './i18n/**/*.json' dist", + "licensecheck": "license-check", + "tsc": "tsc", + "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", + "prepublish": "npm run build" + }, + "repository": { + "type": "git", + "url": "https://github.com/Alfresco/dev-platform-webcomponents.git" + }, + "bugs": { + "url": "https://github.com/Alfresco/dev-platform-webcomponents/issues" + }, + "license": "Apache-2.0", + "contributors": [ + { + "name": "Denys Vuika", + "email": "denis.vuyka@gmail.com" } + ], + "keywords": [ + "ng2", + "angular", + "angular2", + "alfresco" + ], + "dependencies": { + "angular2": "2.0.0-beta.15", + "systemjs": "0.19.26", + "es6-shim": "^0.35.0", + "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": { + "angular2": "2.0.0-beta.15" + }, + "devDependencies": { + "copyfiles": "^0.2.1", + "coveralls": "^2.11.9", + "http-server": "0.8.5", + "jasmine-core": "2.4.1", + "karma": "~0.13.22", + "karma-chrome-launcher": "~1.0.1", + "karma-coverage": "^1.0.0", + "karma-jasmine": "~1.0.2", + "karma-mocha-reporter": "^2.0.3", + "license-check": "^1.0.4", + "remap-istanbul": "^0.6.3", + "traceur": "^0.0.91", + "tslint": "^3.8.1", + "typescript": "^1.8.10", + "typings": "^0.7.12" + }, + "license-check-config": { + "src": [ + "**/*.js", + "**/*.ts", + "!/**/coverage/**/*", + "!/**/demo/**/*", + "!/**/node_modules/**/*", + "!/**/typings/**/*", + "!*.js" + ], + "path": "assets/license_header.txt", + "blocking": false, + "logInfo": false, + "logError": true + }, + "publishConfig": { + "registry": "http://52.16.120.219:4873/" + } } diff --git a/ng2-components/ng2-alfresco-datatable/tsconfig.json b/ng2-components/ng2-alfresco-datatable/tsconfig.json index 1a1d552c0a..45d37de047 100644 --- a/ng2-components/ng2-alfresco-datatable/tsconfig.json +++ b/ng2-components/ng2-alfresco-datatable/tsconfig.json @@ -11,6 +11,7 @@ "outDir": "dist" }, "exclude": [ + "demo", "node_modules", "typings/main", "typings/main.d.ts" diff --git a/ng2-components/ng2-alfresco-documentlist/demo/package.json b/ng2-components/ng2-alfresco-documentlist/demo/package.json index 7a2ad4d2a8..8ee8213a69 100644 --- a/ng2-components/ng2-alfresco-documentlist/demo/package.json +++ b/ng2-components/ng2-alfresco-documentlist/demo/package.json @@ -31,5 +31,8 @@ "keywords": [ "angular2", "typescript" - ] + ], + "publishConfig": { + "registry": "http://52.16.120.219:4873/" + } } diff --git a/ng2-components/ng2-alfresco-documentlist/package.json b/ng2-components/ng2-alfresco-documentlist/package.json index 28891547e4..60f64bddbe 100644 --- a/ng2-components/ng2-alfresco-documentlist/package.json +++ b/ng2-components/ng2-alfresco-documentlist/package.json @@ -1,94 +1,97 @@ { - "name": "ng2-alfresco-documentlist", - "description": "Alfresco Angular2 Document List Component", - "version": "0.1.0", - "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-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", - "copy-css": "copyfiles './src/**/*.css' dist", - "copy-i18n": "copyfiles './i18n/**/*.json' dist", - "licensecheck": "license-check", - "tsc": "tsc", - "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" + "name": "ng2-alfresco-documentlist", + "description": "Alfresco Angular2 Document List Component", + "version": "0.1.1", + "author": "Alfresco Software, Ltd.", + "scripts": { + "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-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", + "copy-html": "copyfiles './src/**/*.html' dist", + "copy-css": "copyfiles './src/**/*.css' dist", + "copy-i18n": "copyfiles './i18n/**/*.json' dist", + "licensecheck": "license-check", + "tsc": "tsc", + "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", + "prepublish": "npm run build" + }, + "repository": { + "type": "git", + "url": "https://github.com/Alfresco/dev-platform-webcomponents.git" + }, + "bugs": { + "url": "https://github.com/Alfresco/dev-platform-webcomponents/issues" + }, + "license": "Apache-2.0", + "contributors": [ + { + "name": "Denys Vuika", + "email": "denis.vuyka@gmail.com" }, - "repository": { - "type": "git", - "url": "https://github.com/Alfresco/dev-platform-webcomponents.git" - }, - "bugs": { - "url": "https://github.com/Alfresco/dev-platform-webcomponents/issues" - }, - "license": "Apache-2.0", - "contributors": [ - { - "name": "Denys Vuika", - "email": "denis.vuyka@gmail.com" - }, - { - "name": "Mario Romano", - "email": "mario.romano83@gmail.com" - } - ], - "keywords": [ - "ng2", - "angular", - "angular2", - "alfresco" - ], - "dependencies": { - "angular2": "2.0.0-beta.15", - "systemjs": "0.19.26", - "es6-shim": "^0.35.0", - "reflect-metadata": "0.1.2", - "rxjs": "5.0.0-beta.2", - "zone.js": "^0.6.12", - "es6-module-loader": "^0.17.8" - }, - "peerDependencies": { - "angular2": "2.0.0-beta.15" - }, - "devDependencies": { - "copyfiles": "^0.2.1", - "coveralls": "^2.11.9", - "http-server": "0.8.5", - "jasmine-core": "2.4.1", - "karma": "~0.13.22", - "karma-chrome-launcher": "~1.0.1", - "karma-coverage": "^1.0.0", - "karma-jasmine": "~1.0.2", - "karma-mocha-reporter": "^2.0.3", - "license-check": "^1.0.4", - "remap-istanbul": "^0.6.3", - "traceur": "^0.0.91", - "tslint": "^3.8.1", - "typescript": "^1.8.10", - "typings": "^0.7.12" - }, - "license-check-config": { - "src": [ - "**/*.js", - "**/*.ts", - "!/**/coverage/**/*", - "!/**/demo/**/*", - "!/**/node_modules/**/*", - "!/**/typings/**/*", - "!*.js" - ], - "path": "assets/license_header.txt", - "blocking": false, - "logInfo": false, - "logError": true + { + "name": "Mario Romano", + "email": "mario.romano83@gmail.com" } + ], + "keywords": [ + "ng2", + "angular", + "angular2", + "alfresco" + ], + "dependencies": { + "angular2": "2.0.0-beta.15", + "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", + "systemjs": "0.19.26", + "zone.js": "^0.6.12" + }, + "peerDependencies": { + "angular2": "2.0.0-beta.15" + }, + "devDependencies": { + "copyfiles": "^0.2.1", + "coveralls": "^2.11.9", + "http-server": "0.8.5", + "jasmine-core": "2.4.1", + "karma": "~0.13.22", + "karma-chrome-launcher": "~1.0.1", + "karma-coverage": "^1.0.0", + "karma-jasmine": "~1.0.2", + "karma-mocha-reporter": "^2.0.3", + "license-check": "^1.0.4", + "remap-istanbul": "^0.6.3", + "traceur": "^0.0.91", + "tslint": "^3.8.1", + "typescript": "^1.8.10", + "typings": "^0.7.12" + }, + "license-check-config": { + "src": [ + "**/*.js", + "**/*.ts", + "!/**/coverage/**/*", + "!/**/demo/**/*", + "!/**/node_modules/**/*", + "!/**/typings/**/*", + "!*.js" + ], + "path": "assets/license_header.txt", + "blocking": false, + "logInfo": false, + "logError": true + }, + "publishConfig": { + "registry": "http://52.16.120.219:4873/" + } } diff --git a/ng2-components/ng2-alfresco-login/demo/package.json b/ng2-components/ng2-alfresco-login/demo/package.json index f23dee9952..259197f0c7 100644 --- a/ng2-components/ng2-alfresco-login/demo/package.json +++ b/ng2-components/ng2-alfresco-login/demo/package.json @@ -1,34 +1,38 @@ { - "name": "ng2-alfresco-login-demo", - "description": "Alfresco Angular2 Login Component - Demo", - "version": "0.1.0", - "author": "Alfresco Software, Ltd.", - "main": "index.js", - "scripts": { - "postinstall": "npm run typings && npm link ng2-alfresco-login", - "typings": "typings install", - "start": "npm run test && http-server -c-1 -o -p 8875 .", - "build": "rm -rf dist && tsc", - "pretest": "npm install && npm run build" - }, - "license": "MIT", - "dependencies": { - "angular2": "2.0.0-beta.13", - "es6-promise": "3.0.2", - "es6-shim": "0.35.0", - "reflect-metadata": "0.1.2", - "rxjs": "5.0.0-beta.2", - "zone.js": "0.6.6", - "ng2-translate": "^1.11.2" - }, - "devDependencies": { - "http-server": "0.8.5", - "systemjs": "0.19.17", - "typescript": "1.7.5", - "typings": "0.6.8" - }, - "keywords": [ - "angular2", - "typescript" - ] + "name": "ng2-alfresco-login-demo", + "description": "Alfresco Angular2 Login Component - Demo", + "version": "0.1.0", + "author": "Alfresco Software, Ltd.", + "main": "index.js", + "scripts": { + "postinstall": "npm run typings", + "typings": "typings install", + "start": "npm run test && http-server -c-1 -o -p 8875 .", + "build": "rm -rf dist && tsc", + "pretest": "npm install && npm run build" + }, + "license": "MIT", + "dependencies": { + "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" + }, + "devDependencies": { + "http-server": "0.8.5", + "systemjs": "0.19.17", + "typescript": "1.7.5", + "typings": "0.6.8" + }, + "keywords": [ + "angular2", + "typescript" + ], + "publishConfig": { + "registry": "http://52.16.120.219:4873/" + } } diff --git a/ng2-components/ng2-alfresco-login/package.json b/ng2-components/ng2-alfresco-login/package.json index c96f4118c6..f1db3df80a 100644 --- a/ng2-components/ng2-alfresco-login/package.json +++ b/ng2-components/ng2-alfresco-login/package.json @@ -1,106 +1,108 @@ { - "name": "ng2-alfresco-login", - "description": "Alfresco Angular2 Login Component", - "version": "0.1.0", - "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-src": "tslint -c tslint.json src/**/*.ts", - "tslint-demo": "tslint -c tslint.json demo/**/*.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", - "copy-css": "copyfiles './src/**/*.css' dist", - "copy-i18n": "copyfiles './i18n/**/*.json' dist", - "licensecheck": "license-check", - "tsc": "tsc", - "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" + "name": "ng2-alfresco-login", + "description": "Alfresco Angular2 Login Component", + "version": "0.1.1", + "author": "Alfresco Software, Ltd.", + "scripts": { + "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-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", + "copytemplates": "npm run copy-html && npm run copy-css && npm run copy-i18n", + "copy-html": "copyfiles './src/**/*.html' dist", + "copy-css": "copyfiles './src/**/*.css' dist", + "copy-i18n": "copyfiles './i18n/**/*.json' dist", + "licensecheck": "license-check", + "tsc": "tsc", + "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", + "prepublish": "npm run build" + }, + "repository": { + "type": "git", + "url": "https://github.com/Alfresco/dev-platform-webcomponents.git" + }, + "bugs": { + "url": "https://github.com/Alfresco/dev-platform-webcomponents/issues" + }, + "license": "Apache-2.0", + "contributors": [ + { + "name": "Denys Vuika", + "email": "denis.vuyka@gmail.com" }, - "repository": { - "type": "git", - "url": "https://github.com/Alfresco/dev-platform-webcomponents.git" + { + "name": "Maurizio Vitale", + "email": "maurizio.vitale84@gmail.com" }, - "bugs": { - "url": "https://github.com/Alfresco/dev-platform-webcomponents/issues" + { + "name": "Mario Romano", + "email": "mario.romano83@gmail.com" }, - "license": "Apache-2.0", - "contributors": [ - { - "name": "Denys Vuika", - "email": "denis.vuyka@gmail.com" - }, - { - "name": "Maurizio Vitale", - "email": "maurizio.vitale84@gmail.com" - }, - { - "name": "Mario Romano", - "email": "mario.romano83@gmail.com" - }, - { - "name": "Eugenio Romano", - "email": "eugenio.romano83@gmail.com" - } - ], - "keywords": [ - "ng2", - "angular", - "angular2", - "alfresco" - ], - "dependencies": { - "angular2": "2.0.0-beta.15", - "systemjs": "0.19.26", - "es6-shim": "^0.35.0", - "es6-module-loader": "^0.17.8", - "reflect-metadata": "0.1.2", - "rxjs": "5.0.0-beta.2", - "zone.js": "^0.6.12", - "ng2-translate": "^1.11.2" - }, - "peerDependencies": { - "angular2": "2.0.0-beta.15" - }, - "devDependencies": { - "copyfiles": "^0.2.1", - "coveralls": "^2.11.9", - "http-server": "0.8.5", - "jasmine-core": "2.4.1", - "karma": "~0.13.22", - "karma-chrome-launcher": "~1.0.1", - "karma-coverage": "^1.0.0", - "karma-jasmine": "~1.0.2", - "karma-mocha-reporter": "^2.0.3", - "license-check": "^1.0.4", - "remap-istanbul": "^0.6.3", - "traceur": "^0.0.91", - "tslint": "^3.8.1", - "typescript": "^1.8.10", - "typings": "^0.7.12", - "xo": "^0.14.0", - "yargs": "^4.7.0" - }, - "license-check-config": { - "src": [ - "**/*.js", - "**/*.ts", - "!/**/coverage/**/*", - "!/**/demo/**/*", - "!/**/node_modules/**/*", - "!/**/typings/**/*", - "!*.js" - ], - "path": "assets/license_header.txt", - "blocking": false, - "logInfo": false, - "logError": true + { + "name": "Eugenio Romano", + "email": "eugenio.romano83@gmail.com" } + ], + "keywords": [ + "ng2", + "angular", + "angular2", + "alfresco" + ], + "dependencies": { + "angular2": "2.0.0-beta.15", + "systemjs": "0.19.26", + "es6-shim": "^0.35.0", + "es6-module-loader": "^0.17.8", + "reflect-metadata": "0.1.2", + "rxjs": "5.0.0-beta.2", + "zone.js": "^0.6.12", + "ng2-translate": "^1.11.2" + }, + "peerDependencies": { + "angular2": "2.0.0-beta.15" + }, + "devDependencies": { + "copyfiles": "^0.2.1", + "coveralls": "^2.11.9", + "http-server": "0.8.5", + "jasmine-core": "2.4.1", + "karma": "~0.13.22", + "karma-chrome-launcher": "~1.0.1", + "karma-coverage": "^1.0.0", + "karma-jasmine": "~1.0.2", + "karma-mocha-reporter": "^2.0.3", + "license-check": "^1.0.4", + "remap-istanbul": "^0.6.3", + "traceur": "^0.0.91", + "tslint": "^3.8.1", + "typescript": "^1.8.10", + "typings": "^0.7.12", + "xo": "^0.14.0", + "yargs": "^4.7.0" + }, + "license-check-config": { + "src": [ + "**/*.js", + "**/*.ts", + "!/**/coverage/**/*", + "!/**/demo/**/*", + "!/**/node_modules/**/*", + "!/**/typings/**/*", + "!*.js" + ], + "path": "assets/license_header.txt", + "blocking": false, + "logInfo": false, + "logError": true + }, + "publishConfig": { + "registry": "http://52.16.120.219:4873/" + } } diff --git a/ng2-components/ng2-alfresco-upload/demo/package.json b/ng2-components/ng2-alfresco-upload/demo/package.json index 0b20919e95..46f72ca3a6 100644 --- a/ng2-components/ng2-alfresco-upload/demo/package.json +++ b/ng2-components/ng2-alfresco-upload/demo/package.json @@ -1,35 +1,40 @@ { - "name": "ng2-alfresco-upload-demo", - "description": "Alfresco Angular2 Upload Component - Demo", - "version": "0.1.0", - "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", - "typings": "typings install", - "start": "rm -rf dist && npm install && http-server -c-1 -o -p 8875 .", - "build": "rm -rf dist && tsc" - }, - "license": "MIT", - "dependencies": { - "angular2": "2.0.0-beta.13", - "es6-promise": "3.0.2", - "es6-shim": "0.35.0", - "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" - }, - "devDependencies": { - "http-server": "0.8.5", - "systemjs": "0.19.17", - "typescript": "1.7.5", - "typings": "0.6.8" - }, - "keywords": [ - "angular2", - "typescript" - ] + "name": "ng2-alfresco-upload-demo", + "description": "Alfresco Angular2 Upload Component - Demo", + "version": "0.1.0", + "author": "Alfresco Software, Ltd.", + "main": "index.js", + "scripts": { + "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" + }, + "license": "MIT", + "dependencies": { + "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" + }, + "devDependencies": { + "http-server": "0.8.5", + "systemjs": "0.19.17", + "typescript": "1.7.5", + "typings": "0.6.8" + }, + "keywords": [ + "angular2", + "typescript" + ], + "publishConfig": { + "registry": "http://52.16.120.219:4873/" + } } diff --git a/ng2-components/ng2-alfresco-upload/package.json b/ng2-components/ng2-alfresco-upload/package.json index 9b2fabb1c5..46cba12cb0 100644 --- a/ng2-components/ng2-alfresco-upload/package.json +++ b/ng2-components/ng2-alfresco-upload/package.json @@ -1,97 +1,100 @@ { - "name": "ng2-alfresco-upload", - "description": "Alfresco Angular2 Upload Component", - "version": "0.1.0", - "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-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", - "copy-css": "copyfiles './src/**/*.css' dist", - "copy-i18n": "copyfiles './i18n/**/*.json' dist", - "licensecheck": "license-check", - "tsc": "tsc", - "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" + "name": "ng2-alfresco-upload", + "description": "Alfresco Angular2 Upload Component", + "version": "0.1.1", + "author": "Alfresco Software, Ltd.", + "scripts": { + "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-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", + "copy-html": "copyfiles './src/**/*.html' dist", + "copy-css": "copyfiles './src/**/*.css' dist", + "copy-i18n": "copyfiles './i18n/**/*.json' dist", + "licensecheck": "license-check", + "tsc": "tsc", + "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", + "prepublish": "npm run build" + }, + "repository": { + "type": "git", + "url": "https://github.com/Alfresco/dev-platform-webcomponents.git" + }, + "bugs": { + "url": "https://github.com/Alfresco/dev-platform-webcomponents/issues" + }, + "license": "Apache-2.0", + "contributors": [ + { + "name": "Mario Romano", + "email": "mario.romano83@gmail.com" }, - "repository": { - "type": "git", - "url": "https://github.com/Alfresco/dev-platform-webcomponents.git" - }, - "bugs": { - "url": "https://github.com/Alfresco/dev-platform-webcomponents/issues" - }, - "license": "Apache-2.0", - "contributors": [ - { - "name": "Mario Romano", - "email": "mario.romano83@gmail.com" - }, - { - "name": "Eugenio Romano", - "email": "eugenio.romano83@gmail.com" - } - ], - "keywords": [ - "ng2", - "angular", - "angular2", - "alfresco" - ], - "dependencies": { - "angular2": "2.0.0-beta.15", - "systemjs": "0.19.26", - "es6-shim": "^0.35.0", - "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" - }, - "peerDependencies": { - "angular2": "2.0.0-beta.15" - }, - "devDependencies": { - "copyfiles": "^0.2.1", - "coveralls": "^2.11.9", - "http-server": "0.8.5", - "jasmine-ajax": "^3.2.0", - "jasmine-core": "2.4.1", - "karma": "~0.13.22", - "karma-chrome-launcher": "~1.0.1", - "karma-coverage": "^1.0.0", - "karma-jasmine": "~1.0.2", - "karma-jasmine-ajax": "^0.1.13", - "karma-mocha-reporter": "^2.0.3", - "license-check": "^1.0.4", - "remap-istanbul": "^0.6.3", - "traceur": "^0.0.91", - "tslint": "^3.8.1", - "typescript": "^1.8.10", - "typings": "^0.7.12" - }, - "license-check-config": { - "src": [ - "**/*.js", - "**/*.ts", - "!/**/coverage/**/*", - "!/**/demo/**/*", - "!/**/node_modules/**/*", - "!/**/typings/**/*", - "!*.js" - ], - "path": "assets/license_header.txt", - "blocking": false, - "logInfo": false, - "logError": true + { + "name": "Eugenio Romano", + "email": "eugenio.romano83@gmail.com" } + ], + "keywords": [ + "ng2", + "angular", + "angular2", + "alfresco" + ], + "dependencies": { + "angular2": "2.0.0-beta.15", + "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", + "systemjs": "0.19.26", + "zone.js": "^0.6.12" + }, + "peerDependencies": { + "angular2": "2.0.0-beta.15" + }, + "devDependencies": { + "copyfiles": "^0.2.1", + "coveralls": "^2.11.9", + "http-server": "0.8.5", + "jasmine-ajax": "^3.2.0", + "jasmine-core": "2.4.1", + "karma": "~0.13.22", + "karma-chrome-launcher": "~1.0.1", + "karma-coverage": "^1.0.0", + "karma-jasmine": "~1.0.2", + "karma-jasmine-ajax": "^0.1.13", + "karma-mocha-reporter": "^2.0.3", + "license-check": "^1.0.4", + "remap-istanbul": "^0.6.3", + "traceur": "^0.0.91", + "tslint": "^3.8.1", + "typescript": "^1.8.10", + "typings": "^0.7.12" + }, + "license-check-config": { + "src": [ + "**/*.js", + "**/*.ts", + "!/**/coverage/**/*", + "!/**/demo/**/*", + "!/**/node_modules/**/*", + "!/**/typings/**/*", + "!*.js" + ], + "path": "assets/license_header.txt", + "blocking": false, + "logInfo": false, + "logError": true + }, + "publishConfig": { + "registry": "http://52.16.120.219:4873/" + } } diff --git a/ng2-components/ng2-alfresco-viewer/demo/package.json b/ng2-components/ng2-alfresco-viewer/demo/package.json index 0fe60fce9c..3df634a0e3 100644 --- a/ng2-components/ng2-alfresco-viewer/demo/package.json +++ b/ng2-components/ng2-alfresco-viewer/demo/package.json @@ -31,5 +31,8 @@ "keywords": [ "angular2", "typescript" - ] + ], + "publishConfig": { + "registry": "http://52.16.120.219:4873/" + } } diff --git a/ng2-components/ng2-alfresco-viewer/package.json b/ng2-components/ng2-alfresco-viewer/package.json index 79c1f2f00e..a3f2b40ad4 100644 --- a/ng2-components/ng2-alfresco-viewer/package.json +++ b/ng2-components/ng2-alfresco-viewer/package.json @@ -1,91 +1,93 @@ { - "keywords": [ - "viewer", - "pdf", - "alfresco-component" + "keywords": [ + "viewer", + "pdf", + "alfresco-component" + ], + "name": "ng-2-alfresco-viewer", + "description": "Alfresco documents viewer", + "version": "0.1.1", + "author": "Eugenio Romano", + "scripts": { + "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-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", + "copy-html": "copyfiles './src/**/*.html' dist", + "copy-css": "copyfiles './src/**/*.css' dist", + "copy-i18n": "copyfiles './i18n/**/*.json' dist", + "licensecheck": "license-check", + "tsc": "tsc", + "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", + "deploy": "http-server -c-1 -o -p 9875 ./demo/demo.html", + "prepublish": "npm run build" + }, + "repository": { + "type": "git", + "url": "https://github.com/alfresco/ng-2-alfresco-viewer.git" + }, + "bugs": { + "url": "https://github.com/alfresco/ng-2-alfresco-viewer/issues" + }, + "dependencies": { + "angular2": "2.0.0-beta.15", + "systemjs": "0.19.26", + "es6-shim": "^0.35.0", + "es6-module-loader": "^0.17.8", + "pdfjs-dist": "^1.5.258", + "reflect-metadata": "0.1.2", + "rxjs": "5.0.0-beta.2", + "zone.js": "^0.6.12", + "ng2-translate": "^1.11.2", + "alfresco-core-rest-api": "https://github.com/Alfresco/dev-platform-js-api" + }, + "peerDependencies": { + "angular2": "2.0.0-beta.15" + }, + "devDependencies": { + "codelyzer": "0.0.19", + "copyfiles": "^0.2.1", + "coveralls": "^2.11.9", + "http-server": "0.8.5", + "jasmine-core": "2.4.1", + "karma": "~0.12.0", + "karma-chrome-launcher": "~1.0.1", + "karma-coverage": "^1.0.0", + "karma-jasmine": "~1.0.2", + "karma-jasmine-ajax": "0.1.12", + "karma-mocha-reporter": "^2.0.3", + "license-check": "^1.0.4", + "remap-istanbul": "^0.6.3", + "traceur": "^0.0.91", + "tslint": "^3.8.1", + "typescript": "^1.8.10", + "typings": "^0.7.12", + "xo": "^0.14.0", + "yargs": "^4.7.0" + }, + "license-check-config": { + "src": [ + "**/*.js", + "**/*.ts", + "!/**/coverage/**/*", + "!/**/demo/**/*", + "!/**/node_modules/**/*", + "!/**/typings/**/*", + "!*.js" ], - "name": "ng-2-alfresco-viewer", - "description": "Alfresco documents viewer", - "version": "0.1.0", - "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-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", - "copy-css": "copyfiles './src/**/*.css' dist", - "copy-i18n": "copyfiles './i18n/**/*.json' dist", - "licensecheck": "license-check", - "tsc": "tsc", - "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", - "deploy": "http-server -c-1 -o -p 9875 ./demo/demo.html" - }, - "repository": { - "type": "git", - "url": "https://github.com/alfresco/ng-2-alfresco-viewer.git" - }, - "bugs": { - "url": "https://github.com/alfresco/ng-2-alfresco-viewer/issues" - }, - "dependencies": { - "angular2": "2.0.0-beta.15", - "systemjs": "0.19.26", - "es6-shim": "^0.35.0", - "es6-module-loader": "^0.17.8", - "pdfjs-dist": "^1.5.258", - "reflect-metadata": "0.1.2", - "rxjs": "5.0.0-beta.2", - "zone.js": "^0.6.12", - "ng2-translate": "^1.11.2", - "alfresco-core-rest-api": "https://github.com/Alfresco/dev-platform-js-api" - }, - "peerDependencies": { - "angular2": "2.0.0-beta.15" - }, - "devDependencies": { - "codelyzer": "0.0.19", - "copyfiles": "^0.2.1", - "coveralls": "^2.11.9", - "http-server": "0.8.5", - "jasmine-core": "2.4.1", - "karma": "~0.12.0", - "karma-chrome-launcher": "~1.0.1", - "karma-coverage": "^1.0.0", - "karma-jasmine": "~1.0.2", - "karma-jasmine-ajax": "0.1.12", - "karma-mocha-reporter": "^2.0.3", - "license-check": "^1.0.4", - "remap-istanbul": "^0.6.3", - "traceur": "^0.0.91", - "tslint": "^3.8.1", - "typescript": "^1.8.10", - "typings": "^0.7.12", - "xo": "^0.14.0", - "yargs": "^4.7.0" - }, - "license-check-config": { - "src": [ - "**/*.js", - "**/*.ts", - "!/**/coverage/**/*", - "!/**/demo/**/*", - "!/**/node_modules/**/*", - "!/**/typings/**/*", - "!*.js" - ], - "path": "assets/license_header.txt", - "blocking": false, - "logInfo": false, - "logError": true - }, - "license": "Apache-2.0" + "path": "assets/license_header.txt", + "blocking": false, + "logInfo": false, + "logError": true + }, + "license": "Apache-2.0", + "publishConfig": { + "registry": "http://52.16.120.219:4873/" + } }