froesecom / typescript-template

My TypeScript template

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Erik's TypeScript Template

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

To install

  • 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 the include block:
"include": [
	"models/**/*",
	"helpers/**/*",
	"presenters/**/*",
	"__tests__/**/*"
],

To run

  • yarn test to run tests
  • yarn type-check to type-check all files
  • yarn hello to run "Hello World" script

To Do

  • Replace tslint (deprecated) with eslint

About

My TypeScript template


Languages

Language:JavaScript 98.6%Language:TypeScript 1.4%