Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 1.02 KB

README.md

File metadata and controls

30 lines (22 loc) · 1.02 KB

npm-ts-template

A NPM package TypeScript template.

Getting started

  • Change the name value from the package.json to match your package name
  • Change the version value from the package.json to match your package version
  • Change the description value from the package.json to match your package description
  • Change the keywords value from the package.json to match your package keywords
  • Change the author value from the package.json to match your package author
  • Change the bugs.url value from the package.json to match your package bug reporting URL
  • Change the homepage value from the package.json to match your package homepage

Build, lint and publish

Build

npm run build

Test

npm run test

Lint

npm run lint

Lint with fixing

npm run lint-fix

Publish

  • Set the environment variable NODE_AUTH_TOKEN to your own NPM account token.
  • run: npm publish