@ajukno/ts-starter
v1.1.4
Published
Template for creating TypeScript libraries
Downloads
4
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-starter
Install dependencies:
pnpm install
Scripts
build-fast
: Quickly build the project without generating type declarations.pnpm run build-fast
build
: Build the project with type declarations.pnpm run build
build:watch
: Watch for changes and rebuild the project.pnpm run build:watch
format
: Format the code using Prettier.pnpm run format
lint
: Lint the code using ESLint.pnpm run lint
lint:fix
: Lint and fix the code using ESLint.pnpm run lint:fix
test
: 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.