Skip to content

Repo Template: vite, mocha-chai, eslint

License

Notifications You must be signed in to change notification settings

epreston/template-web-vite-mocha

Repository files navigation

Vite with Mocha-Chai Template Web Project

Repo Template: vite, mocha-chai, 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

NPM

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

Tools

Tool Reference
Node.js https://nodejs.org/
Vite https://vitejs.dev/
Mocha https://mochajs.org/
Chai https://www.chaijs.com/
ESLint https://eslint.org/
Prettier https://prettier.io
EditorConfig https://editorconfig.org

References

Website Reference
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.