- babel (env and stage-2 presets)
- eslint (based on create-react-app config)
- jest
git clone git@github.com:Noviel/npm-package-boilerplate.git my-awesome-npm-package
cd my-awesome-npm-package
-
Remove
.git
directory -
yarn install
ornpm install
- Write code in
src
directory npm run build
oryarn build
npm publish
- test - run jest
- lint - run eslint
- build - build
src
todist
- major-release - update major version and publish
- minor-release - update minor version and publish
- patch-release - update patch version and publish