Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/vpksoftorg/npm-ts-template


https://github.com/vpksoftorg/npm-ts-template

Last synced: 19 days ago
JSON representation

Awesome Lists containing this project

README

        

# npm-ts-template
A [NPM](https://en.wikipedia.org/wiki/Npm) package [TypeScript](https://en.wikipedia.org/wiki/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](https://www.npmjs.com) account token.
* run: `npm publish`