session-alert-l
v1.0.0
Published
Session Alert was build as a plug an play component for Angular Projects. This project is to track user session time and alert when its about to get over.
Downloads
1
Maintainers
Readme
SessionAlert
Session Alert was build as a plug an play component for Angular Projects. This project is to track user session time and alert when its about to get over.
@image
Getting Started
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
Project Build With
This project was build on below environment.
$ npm -v
6.13.4
$ ng version
_ _ ____ _ ___
/ \ _ __ __ _ _ _| | __ _ _ __ / ___| | |_ _|
/ △ \ | '_ \ / _` | | | | |/ _` | '__| | | | | | |
/ ___ \| | | | (_| | |_| | | (_| | | | |___| |___ | |
/_/ \_\_| |_|\__, |\__,_|_|\__,_|_| \____|_____|___|
|___/
Angular CLI: 8.0.6
Node: 12.16.1
OS: win32 x64
Angular: 8.0.3
... animations, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... router
Package Version
------------------------------------------------------------
@angular-devkit/architect 0.801.3
@angular-devkit/build-angular 0.801.3
@angular-devkit/build-ng-packagr 0.801.3
@angular-devkit/build-optimizer 0.801.3
@angular-devkit/build-webpack 0.801.3
@angular-devkit/core 8.1.3
@angular-devkit/schematics 8.0.6
@angular/cdk 8.2.3
@angular/cli 8.0.6
@angular/material 8.2.3
@ngtools/webpack 8.1.3
@schematics/angular 8.0.6
@schematics/update 0.800.6
ng-packagr 5.7.1
rxjs 6.4.0
typescript 3.4.5
webpack 4.35.2
Demo
Installing
Steps to follow to get development environment running
- Clone Project
$ git clone https://github.com/ismail5701/session-alert.git
- Install packages
$ npm install
- Run Demo
$ cd session-alert
$ ng serve
Running lint and tests
- Run
ng lint
to Analyse code via TS Lint. - Run
ng test
to execute the unit tests via Karma. - Run
ng test --code-coverage
to execute the unit tests via Karma Istanbul.
Build
- Run
ng build session-alert-l
to build the library. The build artifacts will be stored in thedist/session-alert-l
directory. Library is build in production mode by default. - Run
ng build
to build the Demo App. The build artifacts will be stored in thedist/session-alert
directory. Use the--prod
flag for a production build.
Running e2e tests
Run ng e2e
to execute the End to End Tests.
Contributing
When contributing to this repository, please first discuss the change you wish to make via issue with the owners of this repository before making a change.
Pull Request Process
- Update the README.md with details of changes to the interface, this includes new environment variables, exposed ports, useful file locations and container parameters.
- Increase the version numbers in any examples files and the README.md to the new version that this Pull Request would represent. The versioning scheme we use is SemVer.
Versioning
1.0.0
License
MIT License