NPM Starter Kit
Getting Started
# in your project root, initialize an empty git repo
git init
# Pull npm-starter-kit
git pull https://github.com/thesunny/npm-starter-kit.git
# Install dependencies
yarn
Building your project
Publishing a new version
# Executes build, bumps version, and shows instructions on publishing
yarn prepublish
# Publish in namespaced to NPM for first time
# (--access required for first time in an @namespace/packace project)
npm publish --access=public
# Other publish
npm publish
Testing
# Run unit tests in Jest continuously
yarn test:watch