node-ts-starter-template
v1.5.3
Published
Node starter template with TypeScript
Downloads
16
Maintainers
Readme
node-ts-starter-template
starter template for nodejs development with Typescript, eslint and more
Get up to speed with nodejs development using this template with useful libraries and config:
- typescript
- ts-jest
- eslint
- airbnb
- commitlint
- husky
- prettier
- coveralls
- vscode
- travis
- typedoc
- github pages
Installation
- Clone from here
- Initialze your new repository:
npm run setup
Test
npn run test
Enable Github Pages docs site
This template supports generating api documentation using TypeDoc.
It you want to host this on a Github pages site you need to create a specific branch for that:
- git checkout --orphan gh-pages
- git rm -rf .
- git commit --allow-empty -m "Init empty branch"
- git push origin gh-pages
More info can be found here: https://medium.com/linagora-engineering/deploying-your-js-app-to-github-pages-the-easy-way-or-not-1ef8c48424b7
Also, if you want to deploy the documentation with Travis
change this in the .travis.yml file:
- uncomment the
npm run docs
command - uncomment the
pages
provider task