epreston / template-web-vite-vitest

Repo Template: vite, vitest, eslint

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Vite with Vitest Template Web Project

Repo Template: vite, vitest, eslint.

CI

Quick Start

Install Node.js, start a new repository using this template, create a local clone of your new repository, and run the following console commands within your local copy:

# 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"
preview npm run preview Start a local server to preview production build
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
convertacolor https://convertacolor.com
Polyfill.io https://polyfill.io

License

This template is released under the MIT License.

About

Repo Template: vite, vitest, eslint

License:MIT License


Languages

Language:JavaScript 90.1%Language:CSS 5.9%Language:HTML 4.0%