@ajukno/ts-starter
v1.1.4
Published
Template for creating TypeScript libraries
Downloads
11
Maintainers
Readme
Features
- TypeScript
- ESLint
- Prettier
- Vitest
- TSUP for bundling
Getting Started
Installation
Clone the repository:
git clone https://github.com/ajukno/ts-starter.git cd ts-starterInstall dependencies:
pnpm install
Scripts
build-fast: Quickly build the project without generating type declarations.pnpm run build-fastbuild: Build the project with type declarations.pnpm run buildbuild:watch: Watch for changes and rebuild the project.pnpm run build:watchformat: Format the code using Prettier.pnpm run formatlint: Lint the code using ESLint.pnpm run lintlint:fix: Lint and fix the code using ESLint.pnpm run lint:fixtest: Run tests using Vitest.pnpm run test
Project Structure
src/: Source code directory.tests/: Test files directory.dist/: Distribution directory (generated after build).
License
This project is licensed under the MIT License.
