This is a simple template for a React application.
This template uses:
- Vite for bundling and running the dev server.
- Vitest for testing, along with React Testing Library
- ESLint for linting
To create a fresh copy of this project, clone the repository, then remove it's git history:
- Clone this repo into a folder on your machine.
cd
into that foldercd my-project-name
- Delete the git history:
rm -rf .git
- Create a new git history:
git init
- Install the necessary dependencies - run
npm install
in the folder where the package.json is located.
The following can all be found under the "scripts"
section in your
package.json
. You can add more scripts here if you like, and run them with
npm run my-script
.
npm run dev
npm run test
npm run lint
npm run build