mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
remove manual npm link and add it in postinstall script
This commit is contained in:
@@ -28,83 +28,24 @@ to clean up afterwards
|
|||||||
docker-compose rm
|
docker-compose rm
|
||||||
```
|
```
|
||||||
|
|
||||||
### Configuring development environment
|
### Building and running steps:
|
||||||
|
|
||||||
*All scripts assume you are at the project root folder*
|
1. Install dependencies
|
||||||
|
|
||||||
**Install symlinks for Alfresco components**
|
|
||||||
|
|
||||||
**On Linux, you may need to use sudo cmd or add user write permissions to /usr/lib/node_modules**
|
|
||||||
|
|
||||||
*ng2-alfresco-core:*
|
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
npm link ../ng2-components/ng2-alfresco-core
|
|
||||||
```
|
|
||||||
|
|
||||||
*ng2-alfresco-datatable component:*
|
|
||||||
|
|
||||||
```sh
|
|
||||||
npm link ../ng2-components/ng2-alfresco-datatable
|
|
||||||
```
|
|
||||||
|
|
||||||
*ng2-alfresco-documentlist component:*
|
|
||||||
|
|
||||||
```sh
|
|
||||||
npm link ../ng2-components/ng2-alfresco-documentlist
|
|
||||||
```
|
|
||||||
|
|
||||||
*ng2-alfresco-login component:*
|
|
||||||
|
|
||||||
```sh
|
|
||||||
npm link ../ng2-components/ng2-alfresco-login
|
|
||||||
```
|
|
||||||
|
|
||||||
*ng2-alfresco-upload component:*
|
|
||||||
|
|
||||||
```sh
|
|
||||||
npm link ../ng2-components/ng2-alfresco-upload
|
|
||||||
```
|
|
||||||
|
|
||||||
*dev-platform-js-api client:*
|
|
||||||
|
|
||||||
```sh
|
|
||||||
npm link ../../dev-platform-js-api
|
|
||||||
```
|
|
||||||
|
|
||||||
Please refer to [this article](https://docs.npmjs.com/cli/link) for more details on npm link.
|
|
||||||
|
|
||||||
### Building and running
|
|
||||||
|
|
||||||
**Install dependencies:**
|
|
||||||
|
|
||||||
```sh
|
|
||||||
cd dev-platform-webcomponents/demo-shell-ng2/
|
|
||||||
npm install
|
npm install
|
||||||
```
|
```
|
||||||
|
|
||||||
**(Option 1) Fast build and watch for dev purposes:**
|
2. Fast build and watch for dev purposes
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
npm start
|
npm start.dev
|
||||||
```
|
```
|
||||||
|
|
||||||
`start` script also includes live reload and watchers for all the `.ts` files.
|
>`start` script also includes live reload and watchers for all the `.ts` files.
|
||||||
TypeScript watchers are also configured for `node_modules` folder within demo shell
|
TypeScript watchers are also configured for `node_modules` folder within demo shell
|
||||||
and provide live reload for all the component libraries as well.
|
and provide live reload for all the component libraries as well.
|
||||||
|
|
||||||
**(Option 2) Build and watch with Gulp:**
|
|
||||||
|
|
||||||
```sh
|
|
||||||
npm run build.dev
|
|
||||||
```
|
|
||||||
|
|
||||||
*or*
|
|
||||||
|
|
||||||
```sh
|
|
||||||
gulp dev
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|
||||||
###Multi-language
|
###Multi-language
|
||||||
To support a new language you need to create your language file (.json) and add it to `i18n/` folder.
|
To support a new language you need to create your language file (.json) and add it to `i18n/` folder.
|
||||||
|
@@ -4,16 +4,16 @@
|
|||||||
"version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"author": "Alfresco Software, Ltd.",
|
"author": "Alfresco Software, Ltd.",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build.dev": "gulp dev",
|
|
||||||
"build.prod": "gulp build",
|
|
||||||
"prestart": "npm install",
|
"prestart": "npm install",
|
||||||
"start": "concurrently \"npm run tsc:w\" \"npm run lite\" ",
|
"start.dev": "concurrently \"npm run tsc:w\" \"npm run serve\" ",
|
||||||
|
"start": "concurrently \"npm run tsc:w\" \"npm run serve\" ",
|
||||||
"test": "live-server --open=tests-runner.html",
|
"test": "live-server --open=tests-runner.html",
|
||||||
"tsc": "tsc",
|
"tsc": "tsc",
|
||||||
"tsc:w": "tsc -w -p tsconfig.dev.json",
|
"tsc:w": "tsc -w -p tsconfig.dev.json",
|
||||||
"lite": "lite-server",
|
"serve": "live-server",
|
||||||
"typings": "typings",
|
"typings": "typings",
|
||||||
"postinstall": "typings install"
|
"postinstall": "typings install && npm link ../ng2-components/ng2-alfresco-core && npm link ../ng2-components/ng2-alfresco-documentlist && npm link ../ng2-components/ng2-alfresco-login && npm link ../ng2-components/ng2-alfresco-upload && npm link ../ng2-components/ng2-alfresco-datatable",
|
||||||
|
"postupdate": "npm link ../ng2-components/ng2-alfresco-core && npm link ../ng2-components/ng2-alfresco-documentlist && npm link ../ng2-components/ng2-alfresco-login && npm link ../ng2-components/ng2-alfresco-upload && npm link ../ng2-components/ng2-alfresco-datatable"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
@@ -40,6 +40,7 @@
|
|||||||
"alfresco"
|
"alfresco"
|
||||||
],
|
],
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"alfresco-core-rest-api": "https://github.com/Alfresco/dev-platform-js-api",
|
||||||
"angular2": "2.0.0-beta.15",
|
"angular2": "2.0.0-beta.15",
|
||||||
"bootstrap": "^3.3.6",
|
"bootstrap": "^3.3.6",
|
||||||
"es6-shim": "^0.35.0",
|
"es6-shim": "^0.35.0",
|
||||||
|
@@ -4,7 +4,7 @@
|
|||||||
"version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"author": "Alfresco Software, Ltd.",
|
"author": "Alfresco Software, Ltd.",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"postinstall": "npm run typings",
|
"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",
|
||||||
|
@@ -1,89 +1,89 @@
|
|||||||
{
|
{
|
||||||
"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.0",
|
||||||
"author": "Alfresco Software, Ltd.",
|
"author": "Alfresco Software, Ltd.",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"postinstall": "npm run typings",
|
"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-test && npm run tslint-src && npm run tslint-root",
|
||||||
"tslint-test": "tslint -c tslint.json test/**/*.ts",
|
"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",
|
"copytemplates": "npm run copy-html && npm run copy-css",
|
||||||
"copy-html": "copyfiles './src/**/*.html' dist",
|
"copy-html": "copyfiles './src/**/*.html' dist",
|
||||||
"copy-css": "copyfiles './src/**/*.css' dist",
|
"copy-css": "copyfiles './src/**/*.css' dist",
|
||||||
"licensecheck": "license-check",
|
"licensecheck": "license-check",
|
||||||
"tsc": "tsc",
|
"tsc": "tsc",
|
||||||
"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"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/Alfresco/dev-platform-webcomponents.git"
|
"url": "https://github.com/Alfresco/dev-platform-webcomponents.git"
|
||||||
},
|
},
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/Alfresco/dev-platform-webcomponents/issues"
|
"url": "https://github.com/Alfresco/dev-platform-webcomponents/issues"
|
||||||
},
|
},
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"contributors": [
|
"contributors": [
|
||||||
{
|
{
|
||||||
"name": "Denys Vuika",
|
"name": "Denys Vuika",
|
||||||
"email": "denis.vuyka@gmail.com"
|
"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",
|
"keywords": [
|
||||||
"blocking": false,
|
"ng2",
|
||||||
"logInfo": false,
|
"angular",
|
||||||
"logError": true
|
"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
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@@ -1,93 +1,93 @@
|
|||||||
{
|
{
|
||||||
"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.0",
|
||||||
"author": "Alfresco Software, Ltd.",
|
"author": "Alfresco Software, Ltd.",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"postinstall": "npm run typings",
|
"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-test && npm run tslint-src && npm run tslint-root",
|
||||||
"tslint-test": "tslint -c tslint.json test/**/*.ts",
|
"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",
|
"copytemplates": "npm run copy-html && npm run copy-css",
|
||||||
"copy-html": "copyfiles './src/**/*.html' dist",
|
"copy-html": "copyfiles './src/**/*.html' dist",
|
||||||
"copy-css": "copyfiles './src/**/*.css' dist",
|
"copy-css": "copyfiles './src/**/*.css' dist",
|
||||||
"licensecheck": "license-check",
|
"licensecheck": "license-check",
|
||||||
"tsc": "tsc",
|
"tsc": "tsc",
|
||||||
"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"
|
||||||
},
|
|
||||||
"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": {
|
||||||
"name": "Mario Romano",
|
"type": "git",
|
||||||
"email": "mario.romano83@gmail.com"
|
"url": "https://github.com/Alfresco/dev-platform-webcomponents.git"
|
||||||
}
|
},
|
||||||
],
|
"bugs": {
|
||||||
"keywords": [
|
"url": "https://github.com/Alfresco/dev-platform-webcomponents/issues"
|
||||||
"ng2",
|
},
|
||||||
"angular",
|
"license": "Apache-2.0",
|
||||||
"angular2",
|
"contributors": [
|
||||||
"alfresco"
|
{
|
||||||
],
|
"name": "Denys Vuika",
|
||||||
"dependencies": {
|
"email": "denis.vuyka@gmail.com"
|
||||||
"angular2": "2.0.0-beta.15",
|
},
|
||||||
"systemjs": "0.19.26",
|
{
|
||||||
"es6-shim": "^0.35.0",
|
"name": "Mario Romano",
|
||||||
"reflect-metadata": "0.1.2",
|
"email": "mario.romano83@gmail.com"
|
||||||
"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",
|
"keywords": [
|
||||||
"blocking": false,
|
"ng2",
|
||||||
"logInfo": false,
|
"angular",
|
||||||
"logError": true
|
"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
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@@ -4,7 +4,7 @@
|
|||||||
"version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"author": "Alfresco Software, Ltd.",
|
"author": "Alfresco Software, Ltd.",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"postinstall": "npm run typings",
|
"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",
|
||||||
@@ -42,6 +42,10 @@
|
|||||||
{
|
{
|
||||||
"name": "Mario Romano",
|
"name": "Mario Romano",
|
||||||
"email": "mario.romano83@gmail.com"
|
"email": "mario.romano83@gmail.com"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Eugenio Romano",
|
||||||
|
"email": "eugenio.romano83@gmail.com"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"keywords": [
|
"keywords": [
|
||||||
|
@@ -1,92 +1,96 @@
|
|||||||
{
|
{
|
||||||
"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.0",
|
||||||
"author": "Alfresco Software, Ltd.",
|
"author": "Alfresco Software, Ltd.",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"postinstall": "npm run typings",
|
"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-test && npm run tslint-src && npm run tslint-root",
|
||||||
"tslint-test": "tslint -c tslint.json test/**/*.ts",
|
"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",
|
"copytemplates": "npm run copy-html && npm run copy-css",
|
||||||
"copy-html": "copyfiles './src/**/*.html' dist",
|
"copy-html": "copyfiles './src/**/*.html' dist",
|
||||||
"copy-css": "copyfiles './src/**/*.css' dist",
|
"copy-css": "copyfiles './src/**/*.css' dist",
|
||||||
"licensecheck": "license-check",
|
"licensecheck": "license-check",
|
||||||
"tsc": "tsc",
|
"tsc": "tsc",
|
||||||
"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"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/Alfresco/dev-platform-webcomponents.git"
|
"url": "https://github.com/Alfresco/dev-platform-webcomponents.git"
|
||||||
},
|
},
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/Alfresco/dev-platform-webcomponents/issues"
|
"url": "https://github.com/Alfresco/dev-platform-webcomponents/issues"
|
||||||
},
|
},
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"contributors": [
|
"contributors": [
|
||||||
{
|
{
|
||||||
"name": "Mario Romano",
|
"name": "Mario Romano",
|
||||||
"email": "mario.romano83@gmail.com"
|
"email": "mario.romano83@gmail.com"
|
||||||
}
|
},
|
||||||
],
|
{
|
||||||
"keywords": [
|
"name": "Eugenio Romano",
|
||||||
"ng2",
|
"email": "eugenio.romano83@gmail.com"
|
||||||
"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",
|
"keywords": [
|
||||||
"blocking": false,
|
"ng2",
|
||||||
"logInfo": false,
|
"angular",
|
||||||
"logError": true
|
"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
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@@ -1,88 +1,90 @@
|
|||||||
{
|
{
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"viewer",
|
"viewer",
|
||||||
"pdf",
|
"pdf",
|
||||||
"alfresco-component"
|
"alfresco-component"
|
||||||
],
|
|
||||||
"name": "ng-2-alfresco-viewer",
|
|
||||||
"description": "Alfresco documents viewer",
|
|
||||||
"version": "0.1.0",
|
|
||||||
"author": "Eugenio Romano",
|
|
||||||
"scripts": {
|
|
||||||
"postinstall": "npm run typings",
|
|
||||||
"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",
|
|
||||||
"copy-html": "copyfiles './src/**/*.html' dist",
|
|
||||||
"copy-css": "copyfiles './src/**/*.css' 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/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",
|
|
||||||
"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": {
|
|
||||||
"copyfiles": "^0.2.1",
|
|
||||||
"coveralls": "^2.11.9",
|
|
||||||
"codelyzer": "0.0.19",
|
|
||||||
"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",
|
"name": "ng-2-alfresco-viewer",
|
||||||
"blocking": false,
|
"description": "Alfresco documents viewer",
|
||||||
"logInfo": false,
|
"version": "0.1.0",
|
||||||
"logError": true
|
"author": "Eugenio Romano",
|
||||||
},
|
"scripts": {
|
||||||
"license": "Apache-2.0"
|
"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",
|
||||||
|
"copy-html": "copyfiles './src/**/*.html' dist",
|
||||||
|
"copy-css": "copyfiles './src/**/*.css' 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"
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user