https://github.com/epreston/template-web-vite-vitest
Repo Template: vite, vitest, eslint
https://github.com/epreston/template-web-vite-vitest
template vite vitest web
Last synced: 3 months ago
JSON representation
Repo Template: vite, vitest, eslint
- Host: GitHub
- URL: https://github.com/epreston/template-web-vite-vitest
- Owner: epreston
- License: mit
- Created: 2023-01-22T15:16:01.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2026-03-08T18:43:03.000Z (4 months ago)
- Last Synced: 2026-03-08T22:50:50.431Z (4 months ago)
- Topics: template, vite, vitest, web
- Language: JavaScript
- Homepage:
- Size: 687 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
- Security: .github/SECURITY.md
Awesome Lists containing this project
README
# Vite with Vitest Template Web Project
Repo Template: vite, vitest, eslint.
[![CI][ci-badge]][ci-url]
## Quick Start
Install [Node.js](https://nodejs.org/en/download/), start a new repository using this [template](https://docs.github.com/en/repositories/creating-and-managing-repositories/creating-a-repository-from-a-template), create a local [clone](https://docs.github.com/en/repositories/creating-and-managing-repositories/cloning-a-repository) of your new repository, and run the following console commands within your local copy:
```bash
# install dependencies
npm install
# start a local server in development mode
npm run dev
```
## Scripts
| Action | Command | Description |
| ------------- | ----------------------- | ------------------------------------------ |
| dev | `npm run dev` | Start a development server |
| build | `npm run build` | Create a production build into "dist" |
| start | `npm run start` | Start a dev server and open in web browser |
| lint | `npm run lint` | Run static code analysis |
| test | `npm run test` | Run unit tests |
| test-watch | `npm run test-watch` | Watch for changes and run tests |
| test-coverage | `npm run test-coverage` | Generate a test coverage report |
## Tools
| Tool | Reference |
| ------------ | ------------------------------ |
| Node.js | https://nodejs.org |
| Vite | https://vitejs.dev |
| Vitest | https://vitest.dev |
| ESLint | https://eslint.org |
| Prettier | https://prettier.io |
| EditorConfig | https://editorconfig.org |
| jsdom | https://github.com/jsdom/jsdom |
## References
| Reference | Website |
| ------------------- | ------------------------- |
| Can I Use | https://caniuse.com |
| Browserslist | https://browsersl.ist |
| Web Platform Status | https://webstatus.dev |
| convertacolor | https://convertacolor.com |
| Polyfill.io | https://polyfill.io |
## License
This template is released under the MIT [License](LICENSE).
[ci-badge]: https://github.com/epreston/template-web-vite-vitest/actions/workflows/ci.yml/badge.svg
[ci-url]: https://github.com/epreston/template-web-vite-vitest/actions