To use this boilerplate, either clone it using git clone
, download it as ZIP or use GitHub Repository Import.
The following are configured:
- TypeScript
- Yarn
- Jest
- ESLINT
- Custom base path with
@
forsrc/
- Auto reload with
ts-node-dev
- Prettier
And the following scripts:
build
- compiles source code into JS, outputs todist
test
- runs tests using Jeststart
- compiles the server, then usesnode
to run it from the compiled filesdev
- runs the server in dev mode, and automatically refreshes