Boilerplate for starting node.js and typescript servers already with yarn.
Current Node version targeted, v14+.
npx degit pedropalhari/node-ts-boilerplate my-project
yarn start
: runs the distributed copy ondist/index.js
yarn dev
: starts the typescript compiler on watch mode (tsc -w
)- in
tsconfig.json
you can set the properties onoutDir
androotDir
- in
yarn build
: builds the code, incrementally