DEV Community

Cover image for A GitHub repo template featuring automation that makes it pretty darn easy to publish and maintain grade A NPM modules.
Garrone Joseph
Garrone Joseph

Posted on

A GitHub repo template featuring automation that makes it pretty darn easy to publish and maintain grade A NPM modules.

ts_ci

This template automates the boring and tedious tasks of:

  • Filling up the package.json
  • Setting up Typescript.
  • Writing a README.md with decent presentation and instructions on how to install/import your module.
  • Testing on multiples Node version before publishing.
  • Maintaining a CHANGELOG.
  • Publishing on NPM and creating corresponding GitHub releases.

Good stuff that comes with using this template:

  • No sources file are tracked on the default branch.
  • Shorter specific file import path. import {...} from "my_module/theFile" instead of the usual import {...} from "my_module/dist/theFile"
  • CDN distribution for importing from an .html file with a <script> tag.
  • A branch latest always in sync with the latest release.

Top comments (0)