Skip to content

Latest commit

 

History

History
50 lines (37 loc) · 2.09 KB

README.md

File metadata and controls

50 lines (37 loc) · 2.09 KB

Vite ES Module Example

GitHub CircleCI Code Climate maintainability Code Climate coverage GitHub last commit (by committer)

Yet another example of ES Module package that uses Vite and Vitest for development.

Features

  • Uses Vite for development server and build
  • Uses Vitest for testing
  • Uses ESLint with Antfu's config
  • Uses Release-it for releasing
  • Uses Codeclimate for the code quality control
  • Uses CircleCI as the CI/CD platform

Usage

npx degit acfatah/vite-es-module your_module
npm install && git init

Usage Checklist

  • Rename vite-es-module to your own module name in all files.
  • Rename relevant information in package.json.
  • Update vite.config.js.
  • Update LICENCE.
  • Update REQUIRE_CC_TEST_REPORTER_ID in .circleci/config.yml or completely remove the configuration directory. The token can be found on your Repo Settings page in Code Climate application page.
  • Remove .codeclimeate.yml if you are not using the service.
  • Update README.md.
  • Run npx simple-git-hooks to apply git hooks.