Thank you for your interest in contributing to redux-form-gen
!
This project uses Yarn for dependency management and Storybook for development.
Install dependencies:
$ yarn
Run Storybook:
$ yarn run storybook
Visit http://localhost:6006 in your browser to see the storybook development environment.
When you install dependencies (using yarn
or npm install
), git hooks for precommit
and prepush
are installed
automatically using husky
precommit
runslist
prepush
runslint
&test
We use prettier-eslint
for consistent code formatting. Please make sure to format your code before submitting a PR.
$ yarn run format
This project uses jest as the test runner. Tests are located in __tests__
. If you
submit a PR, please make sure to modify or add tests as appropriate.
$ yarn run clean
$ yarn run check # Makes sure tests and lints are passing
$ yarn run build
Or simply use the following command which combines the 3 commands above:
$ yarn run prepublish