0.0.1 • Published 2 years ago

@jshsj/timer v0.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

Timer

Small timer component for different interval timings. Very much still WIP. Wanted to set up my own timer component for work and learn some lit along the way.

Project status

  • Setup timer
  • Make multiple intervals work
  • Allow different templates
  • Rought notifications
  • Allow editing and saving custom templates
  • Make it more beautiful
  • Improve Notifications
  • Make it more configurable (styles, intl)

Setup

Install dependencies:

npm i

Build

This sample uses the TypeScript compiler to produce JavaScript that runs in modern browsers.

To build the JavaScript version of your component:

npm run build

To watch files and rebuild when the files are modified, run the following command in a separate shell:

npm run build:watch

Both the TypeScript compiler and lit-analyzer are configured to be very strict. You may want to change tsconfig.json to make them less strict.