As seen here: https://khalilstemmler.com/blogs/typescript/node-starter-project/
git clone git@github.com:katunch/nodejs-typescript-starter.git
cd nodejs-typescript-starter
rm -rf .git/
git init
Now you've cloned this starter project and it is ready to be used within you own codebase.
Run npm install
.
Happy coding 🤘
Starts the application in development using nodemon
and ts-node
to do cold reloading.
Runs eslint in the src/
directory.
Builds the app into dist
, cleans up the folder first
Starts the app in production by first building the project with npm run build
and then executiong the compiled JavaScript at dist/index.js
.