1.0.3 • Published 2 years ago
@onsever/create-express-ts-app v1.0.3
Create Express Application with TypeScript
This is a starter template for Express web framework for Node.js using TypeScript.
Features
- TypeScript support with absolute imports and path aliases
- Live reload with nodemon
- Testing support with Jest
- Formatting support with Prettier
- Linting support with ESLint
- Logging support with Pino
Usage
To use this template, run one of the following commands:
npx @onsever/create-express-ts-app <project-name>
npx @onsever/create-express-ts-app .
npx @onsever/create-express-ts-app ./Commands
npm run build- Build the projectnpm run start- Start the server in production modenpm run dev- Start the server in development mode with live reloadnpm run lint:check- Check for linting errorsnpm run lint:fix- Fix linting errorsnpm run prettier:check- Check for formatting errorsnpm run prettier:fix- Fix formatting errorsnpm run test- Run testsnpm run test:watch- Run tests in watch mode