icsc-elasticsearch-angular-lib
v1.3.3
Published
Library for ICSC ElasticSearch module and components. For use on EE site and in PWA.
Downloads
23
Keywords
Readme
icsc-elasticsearch-angular-lib
Library for ICSC ElasticSearch module and components. For use on EE site and in PWA.
Created with generator-angular2-library.
Installation
To install this library, run:
$ npm install icsc-elasticsearch-angular-lib --save
Development
To generate all *.js
, *.d.ts
and *.metadata.json
files:
$ npm run build
$ npm run build:watch
To lint all *.ts
files:
$ npm run lint
Notes
To add package to the library
Add to peerDependencies to src/package.json and add to devDependencies package.json.
To publish changes to npm
# bump version in src/package.json
git add .
git commit -m "Version 0.1.3"
git tag v0.1.3
git push origin master --tags
npm run build
npm publish dist
# git add . && gmm "v1.1.11" && git tag v1.1.11 && gut && npm run build && npm publish dist
Consuming library during development
In library:
cd dist
npm link
In other angular project:
npm link icsc-elasticsearch-angular-lib
In library:
npm run build:watch
More information here.
License
MIT © Foster Made