eing-bills-entity v1.0.0
eing-bills-entity
Description:
This module is used to get and populate bills-entity business domain data.
To use this module import eing-bills-entity-entity and use it's actions, queries and models.
Prerequisites:
nodejs must be installed.
Dependent feature/utility modules should be available in the private npm registry.
Setup comcast NPM Registry:
This setup is one-time process and common/required for all types of eing-* modules.
npm config set registry https://artifactory.io.comcast.net/api/npm/npm-all
npm config set @angular:registry https://registry.npmjs.org/
npm config set @types:registry https://registry.npmjs.org/
npm config set @ngtools:registry https://registry.npmjs.org/
npm config set @ngrx:registry https://registry.npmjs.org/
Build Process:
npm start
- To run in dev machine.
npm run build
- To produce the release build.
Running Unit Tests:
Run
npm run unit:test
.It will create the coverage report in coverage folder and test report in karmaUnitTestReport folder.
How to publish:
If the project/module is already published, please unpublish it first. To unpublish you can use
npm unpublish -f
ornpm unpublish -f <module_name>
ornpm unpublish -f <module_name@version>
Run
npm publish
to publish a latest package.Verify on private npm registry/artifactory web console (https://artifactory.io.comcast.net/webapp/).
Runner
1. To make this module self runnable we are using Runner which could be found under "runner"
folder on the root of the application.
Whenever we introduce new dependencies for the module please also refer to the
systemjs.conf.js
file for updating the references.Please note, whenever we build package of the application using
npm run build
thisRunner
is not included in the packaged file i-e *.umd.js because currently this is only used for development purpose and to run functional test cases on individual features.
Rollup / Tree Shaking
1. Whenever we import new external dependency in our source files we would also have to define those dependencies in globals
and external
array of rollup.conf.js
Gulp
1. We are using gulp to inline our scss
and html
files while using typescript to compile our code into js format with the help of tsconfig.json
We are also using
gulp-watch
which helps us in smooth development and fasterts to js
compilation at development time.We are using gulp mainly for generating module specific distribution which should be deployable in any external server. e-g For
eing-<MODULE_NAME>-entity
, it will generate<MODULE_NAME>-entity
6 years ago