/ts-node

TypeScript, Node, ts-node-dev and VS Code debugger

Primary LanguageTypeScript

ts-node

Typescript Node barebone boilerplate. This basic architecture consists of:

  • Node
  • Typescript
  • Docker
  • GitHub Actions
  • ESLint
  • Prettier
  • ts-node-dev
  • VS Code debugger

npm install

to install the dependencies

npm start

to start the app with ts-node-dev or tsnd alias much faster that nodemon

npm run debug

to start the app with ts-node-dev and debugger attached

But before, in VS Code press Command + Shift + P and select Debug: Toggle Auto Attach -> Only With Flag

npm run build

to build everything inside the src/ folder and output JS files to dist/ folder

npm run serve

to launch the production build of the app using node ./dist/index.js

npm run upgrade

to upgrade all npm packages to their latest versions

more

  • improvements are highly appreciated
  • don't forget to star the repo

thanks