Skip to content

TffT! A simple countdown clock to help you tick down the seconds to that thing you're looking forward to.

License

Notifications You must be signed in to change notification settings

desholmes/tfft-countdown

Repository files navigation

TffT! A simple countdown clock

A simple countdown clock to help you tick down the seconds to that thing you're looking forward to.

Hosted at: tfft.dholmes.co.uk. Read more on the blog post

This project uses:

  1. JavaScript
  2. Node v18.12.1
  3. SaSS
  4. Parcel Bundler
  5. ESLint
  6. Prettier

Development

  1. npm i: Install dependencies
  2. npm start: Start local dev server

Deploying

  1. Clone the GitHub page repo into the .gitignore'd ./dist directory (eg: github.com/desholmes/tfft.dholmes.co.uk.github.io)
  2. npm run build: Builds the js and css files to ./dist
  3. npm run build:serve: Statically serves the ./dist directory (for QA)
  4. npm run deploy: Builds and deploys the site to GitHub pages

Commands

Command Description
npm run clean Cleans the ./dist directory
npm run build Runs npm run clean and parcel build
npm run build:serve Runs serve dist/ to statically serve the build in the ./dist directory
npm run lint Runs ESLint with 0 warnings argument
npm run lint:fix Runs ESLint with 0 warnings and --fix arguments
npm run prettier Runs Prettier with --check argument
npm run prettier:fix Runs Prettier with --write argument
npm run prettier-lint:fix Runs prettier:fix and lint:fix NPM scripts
npm start Runs a local development server using the Parcel Bundler

About

TffT! A simple countdown clock to help you tick down the seconds to that thing you're looking forward to.

Topics

Resources

License

Stars

Watchers

Forks