- Build with webpack 4 and babel 7
- Test with jest
- Lint with eslint (Using "Standard JS" config as default)
- Hot reloading with webpack-dev-server
- Clone this repo from github
- Create a new repo on GitHub
- Inside the local new repo directory run
git remote set-url origin [email protected]:yourname/NewProject.git
- Rename to your package name in package.json
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
npm run watch
- Edit your code and follow tests in your terminal
npm run test
npm run prod
Run tests, lint and builds the modulenpm version patch
(orminor
/major
etc.)npm publish