Skip to content

undirectlookable/npm-package-boilerplate

Repository files navigation

NPM Package Boilerplate

GitHub package.json version GitHub GitHub issues Build Status

Usage

# make a project folder
mkdir my_npm_package

# download source
curl -L https://api.github.com/repos/undirectlookable/npm-package-boilerplate/tarball/master | tar xz -C my_npm_package --strip-components 1
cd my_npm_package

# edit package.json
vi package.json

# install dependencies
npm install

Features

Commands

  • npm run clean - Remove lib/ and dist/ directory
  • npm run dev - Watch files in src/ and babel into lib/
  • npm run lint - Run ESLint
  • npm run test - Run test tasks
  • npm run coverage - Run test and generate coverage report
  • npm run build - Build CommonJS and UMD Module

License

MIT

About

A NPM Package Boilerplate

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published