Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dario-piotrowicz/ngx-console-life-hooks

minimalistic library which contains a single class decorator that automatically logs in the console a component's lifecycle hooks
https://github.com/dario-piotrowicz/ngx-console-life-hooks

angular console-log debug decorator lifecycle-hooks

Last synced: 28 days ago
JSON representation

minimalistic library which contains a single class decorator that automatically logs in the console a component's lifecycle hooks

Awesome Lists containing this project

README

        

# Ngx Console Life Hooks Demo App

This is the readme file for the demo angular application and the library building process, you can find the library's readme [here](./lib/README.md), or you can read it directly from the npm website: https://www.npmjs.com/package/ngx-console-life-hooks

## Demo app

![Netlify Status](https://api.netlify.com/api/v1/badges/4758a554-e9d5-40f6-9e58-06353c92f8e5/deploy-status)

You can find the demo application deployed on at: \
[ngx-console-life-hooks.netlify.app](https://ngx-console-life-hooks.netlify.app)

## Building

In order to build the demo app simply run the standard
`npm run build` and the result will be outputted to _/dist_.

To build the library run `npm run build-lib` instead and in this case you will find the built files in _/dist-lib_.

## Publishing

In order to publish the library run `npm run publish-lib`, this will build the library, copy the _package.json_ and _README.md_ files to _/dist-lib_ and perform the npm publishing process.