0.0.1 • Published 7 months ago

vite-template-lib-ts v0.0.1

Weekly downloads
-
License
-
Repository
-
Last release
7 months ago

vite-template-lib-ts

This template provides a minimal setup to get TypeScript working in Vite with HMR and some ESLint rules.

Get Start

npx degit tower1229/vite-template-lib-ts my-project

cd my-project
npm install
npm run dev

Directory Structure

    |
    |-- demo    // demo page
    |-- dist    // build file, will upload to npm
    |-- src     // lib source file
    |-- test    // test scripts with vitest

npm scripts

  • dev Start a demo server
  • build Build the library
  • test Run test with vitest
  • lint Lint the project

License

This project is open source and available under the MIT License.

0.0.1

7 months ago