JSPM

node-ts-starter-template

1.5.3
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q26559F
  • License MIT

Node starter template with TypeScript

Package Exports

  • node-ts-starter-template
  • node-ts-starter-template/dist/src/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (node-ts-starter-template) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

node-ts-starter-template

starter template for nodejs development with Typescript, eslint and more

Codacy Badge code style: prettier Coverage Status GitHub Pages GitHub npm

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

  1. Clone from here
  2. 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