Template for creating a library with a fully customized environment.
- β¨ Fully customized eslint configuration based on the config by Antfu
- π§ͺ Write tests quickly and conveniently with vitest
- π€ Supports conventional commits
- π Generate beautiful changelogs with changelogen
- βΎοΈ GitHub CI for your build
- π€ Ready configuration for dependabot
- π Library releases with just one command
This is a template repo. Click the green Use this template button to get started.
git clone https://github.com/hywax/vite-vanilla-library-template.git
cd vite-vanilla-library-template
pnpm install
The template contains the following scripts:
dev
- Start the development serverbuild
- Build for productionrelease
- Generate changelog and npm publishlint
- Checks your code for any linting errorstest
- Run all teststest:coverage
- Run all tests with code coverage reportprepare
- Script for setting up husky hooks
This template was created under the MIT License.