0.0.1 • Published 2 years ago
vite-template-lib-ts v0.0.1
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 devDirectory Structure
|
|-- demo // demo page
|-- dist // build file, will upload to npm
|-- src // lib source file
|-- test // test scripts with vitestnpm scripts
devStart a demo serverbuildBuild the librarytestRun test with vitestlintLint the project
License
This project is open source and available under the MIT License.
0.0.1
2 years ago