Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nickserv/vite-react-testing-ts
Uses Vite, Vitest, and React Testing Library to create a modern React app compatible with Create React App
https://github.com/nickserv/vite-react-testing-ts
react testing typescript vite
Last synced: 2 days ago
JSON representation
Uses Vite, Vitest, and React Testing Library to create a modern React app compatible with Create React App
- Host: GitHub
- URL: https://github.com/nickserv/vite-react-testing-ts
- Owner: nickserv
- Created: 2022-07-19T12:41:46.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-06T01:56:25.000Z (over 1 year ago)
- Last Synced: 2025-02-13T20:42:17.245Z (8 days ago)
- Topics: react, testing, typescript, vite
- Language: TypeScript
- Homepage:
- Size: 80.1 KB
- Stars: 5
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Vite + React + Testing + TypeScript
Uses [Vite](https://vitejs.dev/), [Vitest](https://vitest.dev/), and [React Testing Library](https://github.com/testing-library/react-testing-library) to create a modern [React](https://react.dev/) app compatible with [Create React App](https://create-react-app.dev/)

Using JavaScript? See the [JavaScript template](https://github.com/nickmccurdy/vite-react-testing).
## Goals
- Easy migration from Create React App or Vite
- As beginner friendly as Create React App
- Optimized performance compared to Create React App
- Customizable without ejecting## Scripts
- `dev`/`start` - start dev server and open browser
- `build` - build for production
- `preview` - locally preview production build
- `test` - launch test runner## Inspiration
- [Create React App](https://github.com/facebook/create-react-app/tree/main/packages/cra-template)
- [Vite](https://github.com/vitejs/vite/tree/main/packages/create-vite/template-react)
- [Vitest](https://github.com/vitest-dev/vitest/tree/main/examples/react-testing-lib)