Bare minimum TypeScript project template to get started quickly.
A bare minimum, no-frills TypeScript starter template with development/production scripts and linting included.
- Nodemon
ts-node
for development tsc
for building production distribution
Entry file: src/main.ts
.
There are two branches: main
and esm
. The main
branch uses the CommonJS module system, whereas the ESM branch uses the ESM module system.
- Create a repo from this template and locally clone it. Or... run
npx degit plibither8/typescript
ornpx degit plibither8/typescript#esm
to get it directly onto your machine. npm install
orpnpm install
oryarn
, as per your tastenpm run dev
for running in development mode (watches files)npm run build
for building production filesnpm run start
for running production-built files