Static web app builds with React, Typescript, Sass, Using Vite bundler
This app includes Unit Test with Jest, Eslint and best Practice, Form Validation and more.
-
Clone the project and navigate to it:
git clone https://github.com/abdelrahman-mh/age-calculator cd age-calculator
-
Run dev server:
npm run dev
-
For building app:
npm run build
This will run the vite build, and will generate a static app in
./dist
dire -
Run linter:
npm run lint
Will run eslint, includes test files
-
Run tests:
npm run test
This will run all tests in
./test
dire -
Deploy the app via GitHub-Pages:
npm run deploy
This script will remove
dist
if exist & build the app & deploy it via github pages, usinggh-pages
lib