A simple base structure for a Typescript Node project.
Setup:
- configure dependency versions in
package.json - install (
npm/yarn) and commit the lock file - update
tsconfigand/oreslintrules (no-consoleis included as an example)
Running:
.vscode/launch.jsonconfiguration allows debugging usingts-node.
Scripts:
build- compiles files into thebuildfolderclean- removesbuildfolderstart- runs the app from thebuildfolder