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-nodefor development tscfor 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/typescriptornpx degit plibither8/typescript#esmto get it directly onto your machine. npm installorpnpm installoryarn, as per your tastenpm run devfor running in development mode (watches files)npm run buildfor building production filesnpm run startfor running production-built files