Skip to content
This repository has been archived by the owner on Dec 12, 2020. It is now read-only.

Latest commit

 

History

History
23 lines (16 loc) · 1.13 KB

README.md

File metadata and controls

23 lines (16 loc) · 1.13 KB

jables 🎸

Jest + Babel template for npm modules

Build Status Greenkeeper badge Maintainability

A simple, opinionated way to bootstrap a npm module, written in ES6+ and transpiled/minified into ES5.

Usage

Dead simple. Click the Use this template button! Make sure you update any relevant information in package.json and README.md before publishing a module.

Scripts

  • build: transpiles and minifies all code in ./src into ./lib using babel;
  • lint: lints code in ./src using eslint;
  • precommit: (automatic) runs linter before every commit;
  • prepublish: (automatic) runs tests before attempting to publish the package;
  • test: runs tests in __tests__ using jest.

Note: scripts assume you use yarn, because you should ;)

Dio can you hear me, I am lost and so alone - J.B.