- Install the package
npm install --save ngxobjectmanager
- Import the module
@NgModule({
...
imports: [
...
NgxobjectmanagerModule.forRoot()
...
]
...
})
export class AppModule { }
- Constructor inject the service
- Clone the repo
- At the top level,
npm installandnpm test - Once your feature is ready, submit a PR
- Build the
ngxobjectmanagerproject withnpm run build-ci cd dist/ngxobjectmanager && npm link- In your project,
npm link ngxobjectmanager - Updates to the dist folder will be linked in your project
- Be an admin or talk to one
cdintoprojects/ngxobjectmanager- Run
npm version (major|minor|path) - Run
git push --follow-tags - Travis will publish that tag to the npm registry