didaquis / simple-typescript-starter

The most basic TypeScript starter I could think of

Home Page:https://khalilstemmler.com/blogs/typescript/node-starter-project/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

šŸ§° Simple TypeScript Starter

This project is a template for making Node projects using TypeScript.

This repos is a fork of: https://github.com/stemmlerjs/simple-typescript-starter (more details here: https://khalilstemmler.com/blogs/typescript/node-starter-project/)

Requirements

Node.js 18.15 or higher

Scripts

npm run dev

Starts the application in development using nodemon and ts-node to do hot reloading.

npm run build

Builds the app at build, cleaning the folder first.

npm run start

Starts the app in production by first building the project with npm run build, and then executing the compiled JavaScript at build/index.js.

npm run lint

This run the linter.

npm run purgue

Remove the folders: "build", "coverage" and "node_modules".

npm run test

Execute the test with coverage report.

npm run test:watch

Execute test using watch option.

About

The most basic TypeScript starter I could think of

https://khalilstemmler.com/blogs/typescript/node-starter-project/


Languages

Language:JavaScript 57.8%Language:Shell 30.0%Language:TypeScript 12.2%