1.0.0 • Published 6 years ago

node-ts-starter v1.0.0

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago
                | |           | |                | |           | |           
 _ __   ___   __| | ___ ______| |_ ___ ______ ___| |_ __ _ _ __| |_ ___ _ __ 
| '_ \ / _ \ / _` |/ _ \______| __/ __|______/ __| __/ _` | '__| __/ _ \ '__|
| | | | (_) | (_| |  __/      | |_\__ \      \__ \ || (_| | |  | ||  __/ |   
|_| |_|\___/ \__,_|\___|       \__|___/      |___/\__\__,_|_|   \__\___|_|
node-ts-starter

Simple NodeJS project with TypeScript and Mocha.

  • Targets Node >7.x & ES6 out of the box
  • Defaults that are easy to change: tsconfig.json, tslint.json.
  • The bare minimum in dependencies: typescript, tslint, ts-node, mocha & chai.

This project stemmed from the lack of solid documentation for getting started writing TypeScript on Node, especially around tsconfig.json. I then found myself copying configuration from my 'last' project each time I'd start a new one, and so creating a reusable starting point made sense.

Cheers!

Installation

git clone https://github.com/elithrar/node-typescript-starter.git

npm install

npm start

Run Tests

npm test

Build Project

npm run build

License

MIT