Skip to content

Latest commit

 

History

History
46 lines (31 loc) · 687 Bytes

README.md

File metadata and controls

46 lines (31 loc) · 687 Bytes

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

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

Setup

// add relevant setup here

Usage

// add example usage here

Outputs

<!-- add example output here -->
<div></div>

Reminder

Run

$ 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