Skip to content

shakizwastaken/node-typescript-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Typescript Starter

A boilerplate project for building TypeScript applications with Node.js. It includes essential development tools like nodemon for hot-reloading, TypeScript for type-checking, ts-node for running TypeScript files directly without compilation, tsc-alias for creating module aliases, and tsconfig-paths for resolving paths configured in the tsconfig.json file.


Getting Started


To get started with this project, first clone the repository:


git clone https://github.com/shakizwastaken/node-typescript-starter.git

Then, navigate into the project directory and install the dependencies:


 cd typescript-starter

 npm install


Available scripts:



npm run dev

Starts the development server using nodemon

npm start

Starts the production server using the compiled code

npm run start:dev

Starts the development server with TypeScript support

npm run build

Compiles the TypeScript code into JavaScript

npm run clear

Deletes the build directory and node_modules folder

npm run clear:build

Deletes the build directory

npm run tsc

Compiles the TypeScript code into JavaScript using the TypeScript compiler

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published