Skip to content

droduit/horaire

Repository files navigation

Horaire

This Progressive Web App calculate your departure time according to your worktime, arrivals and departures. It helps you maintain good habits with a positive hourly balance, or to raise a negative balance. Push notifications are sent once your working time is over. A service worker cache and fetch the cached files to provide an offline availability.

Developers

Install

Once NodeJS installed:

  1. Install Gulp: npm install gulp -g
  2. Open a terminal in your project root directory (containing the package.json file): npm install

Config

GULP tasks

  • Preprocess, minify and concatenate all css files in bundle.min.css : gulp css
  • Concatenate, uglify and pack all javascript files as bundle.min.js : gulp js
  • Re-generate the css/js files for production : gulp build

Maintaining the project

Updating package dependencies

  • To display the outdated packages : npm outdated
  • To keep the dependencies up to date, simply run the command npm update.

Auditing package dependencies for security vulnerabilities

  1. Run the command npm audit fix
  2. Run npm audit and resolve manually the vulnerabilities left, if any.