Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 1.15 KB

README.md

File metadata and controls

30 lines (24 loc) · 1.15 KB

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 [email protected]: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