A TypeScript starter project template with essential configurations and scripts for building, linting, formatting, and testing.
- TypeScript
- ESLint
- Prettier
- Vitest
- TSUP for bundling
-
Clone the repository:
git clone https://github.com/ajukno/ts-starter.git cd ts-starter
-
Install dependencies:
pnpm install
-
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
-
src/
: Source code directory. -
tests/
: Test files directory. -
dist/
: Distribution directory (generated after build).
This project is licensed under the MIT License.