Scaffold a TypeScript project with ESLint and Jest configured out of the box.
Use this command to scafold an empty TypeScript project with ESLint and Jest configured.
npx ts-app-starter
Use project types to get boilerplates for that type of project.
npx ts-app-starter express
For example, the above command Will install express
, @types/node
, and @types/express
.
express
- Installs
express
,@types/node
,@types/express
. - Writes a simple express server to
src/server.ts
.
- Installs
node
- Installs
@types/node
. - writes a Hello World program to
src/index.ts
.
- Installs
- Node.js v18.0.0 or later.