https://github.com/0-vortex/full-veet-react-test
Experimenting with full vite boilerplate for opensauced.pizza
https://github.com/0-vortex/full-veet-react-test
Last synced: 11 months ago
JSON representation
Experimenting with full vite boilerplate for opensauced.pizza
- Host: GitHub
- URL: https://github.com/0-vortex/full-veet-react-test
- Owner: 0-vortex
- License: mit
- Created: 2021-12-20T22:31:52.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-12-20T22:31:53.000Z (over 4 years ago)
- Last Synced: 2024-12-30T01:34:51.183Z (over 1 year ago)
- Language: TypeScript
- Size: 63.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# React TypeScript template with Vite
This is a [React](https://reactjs.org) + [TypeScript](https://www.typescriptlang.org/) boilerplate built with [Vite](https://vitejs.dev).
## What's inside?
- [ReactJS](https://reactjs.org)
- [Vite](https://vitejs.dev)
- [TypeScript](https://www.typescriptlang.org)
- [Jest](https://jestjs.io)
- [Testing Library](https://testing-library.com)
- [Cypress](https://www.cypress.io)
- [ESLint](https://eslint.org)
- [Prettier](https://prettier.io)
- [Polyfills](https://github.com/vitejs/vite/tree/main/packages/plugin-legacy#readme)
## Getting started
1. Create the project.
```bash
npx degit fabien-ml/react-ts-vite-template my-app
```
2. Access the project directory.
```bash
cd my-app
```
3. Initialize a git repository.
```bash
git init
```
4. Install dependencies.
```bash
npm install
```
5. Start dev server with hot reload at http://localhost:3000.
```bash
npm run dev
```
## Recommended VS Code extensions
- [ESLint](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint)
- [Prettier](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode)
## Other commands
### Lint commands
```bash
npm run lint
```
### Build commands
```bash
npm run build
```
### Run the app in production mode at http://localhost:3000.
```bash
npm run serve
```
### Test commands
- Run unit tests and watch
```bash
npm run test:unit
```
- Run unit tests with coverage
```bash
npm run test:unit:coverage
```
- Run e2e tests
```bash
npm run test:e2e
```
## License
This project is licensed under the MIT License.