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

https://github.com/vidhill/npm-package-template

Template repo for npm packages
https://github.com/vidhill/npm-package-template

Last synced: 3 months ago
JSON representation

Template repo for npm packages

Awesome Lists containing this project

README

        

# npm-package-template

Repo intended to be used as a template for npm packages,
with opinionated build setup `babel`, `eslint`, `jest`, `husky` etc pre-configured

Add description

```bash
$ npm install package --save # replace with real npm package name
```

## Setup

```javascript
// add relevant setup here
```

## Usage

```javascript
// add example usage here
```

### Outputs

```html


```

### Reminder

Run

```bash
$ npx @vidhill/package-json-editor
```

\- to update the `package.json`

## Development

- Build: `npm run build`
- Watch build: `npm run dev`
- Run tests: `npm run test`
- Watch tests: `npm run test:watch`