Boilerplate to create new modules to be shared on NPM.
There is an example inside the src
folder.
To check it out, you need to build and install this module in another React application. You can do that running the following commands:
// inside npm-package-boilerplate module
npm i; npm run build
// inside your react application
npm link ../path/to/npm-package-boilerplate
This module has eslint configured following the pattern from eslint-config-picter.
You can run the linter with the following commands:
npm run lint
// or
npm run lint:watch
We are using Jest and Enzyme to create unit tests. You can check using the following commands:
npm run test
// or
npm run build:watch
npm run build
// or
npm run build:watch