Built using Node 12.8
Includes:
- TypeScript
- Jest configured for TS (testing framework)
- ts-node (TypeScript execution for NodeJS)
- Prettier + my config (Code formatting)
- TSLint + config
- clone repo
yarn install
- if you want to add new directories, you have to tell typescript where they are by adding them to
tsconig.json
in theinclude
block:
"include": [
"models/**/*",
"helpers/**/*",
"presenters/**/*",
"__tests__/**/*"
],
yarn test
to run testsyarn type-check
to type-check all filesyarn hello
to run "Hello World" script
- Replace tslint (deprecated) with eslint