Skip to content

CitRUSprod/typescript-starter

Repository files navigation

TypeScript Starter

Get started

NOTE: Before using this template, you need to install pnpm.

Create a new project based on this template using degit:

pnpx degit CitRUSprod/typescript-starter my-app
cd my-app
pnpm i

Run in development mode:

pnpm dev

Build and run in production mode:

pnpm build
pnpm start

Tools

Commit with commitizen:

pnpm commit

Check types with tsc:

pnpm check-types

Lint with linters:

pnpm lint

Format with formatters:

pnpm format

Validate types and lint code:

pnpm validate

Environment variables

All environment variables are written to the .env file. If it doesn't exist, just enter this command:

cp .env.example .env

About

Starter template for TypeScript application.

Topics

Resources

Stars

Watchers

Forks