1.1.2 • Published 5 years ago

npm-js-package-boilerplate v1.1.2

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

Features

Getting started

  1. Clone this repo from github
  2. Create a new repo on GitHub
  3. Inside the local new repo directory run git remote set-url origin git@github.com:yourname/NewProject.git
  4. Rename to your package name in package.json

Usage

Development

  • npm run dev
  • This opens localhost:8080/your-module-name in Chrome automatically (Can be removed from webpack.config.js)
  • Edit your code and enjoy hot reloading

Test driven development

  • npm run watch
  • Edit your code and follow tests in your terminal

Run tests

  • npm run test

Build package

  • npm run prod Run tests, lint and builds the module
  • npm version patch (or minor/major etc.)
  • npm publish