@ajukno/ts-starter
TypeScript icon, indicating that this package has built-in type declarations

1.1.4 • Public • Published

Starter banner

A TypeScript starter project template with essential configurations and scripts for building, linting, formatting, and testing.

NPM Version

Features

  • TypeScript
  • ESLint
  • Prettier
  • Vitest
  • TSUP for bundling

Getting Started

Installation

  1. Clone the repository:

    git clone https://github.com/ajukno/ts-starter.git
    cd ts-starter
  2. 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.

Package Sidebar

Install

npm i @ajukno/ts-starter

Weekly Downloads

8

Version

1.1.4

License

MIT

Unpacked Size

5.99 kB

Total Files

8

Last publish

Collaborators

  • ajukno