- Introduction
- Requirements
- Recommended modules
- Installation
- Usage
- Maintainers
- Development
- Contributing
- License
- Code of Conduct
A Node executable to create React/Redux applications and components. Currently supports the creation of React components, reducers, middleware, actions, services and a project template.
This package was developed using Yarn, an alternative to npm. The following are necessary to run the test suite.
yarn add easy-redux-gen
or
npm install --save easy-redux-gen
Create a new React/Redux project with the init
or i
action. This action will not overwrite existing directories.
easy-redux-gen init my-new-app
Will create a new directory named my-new-app
which will contain a basic React/Redux installation. Run yarn install
to install dependencies.
Create a new React/Redux component with the generate
or g
action. The supported components are:
-
reducer
-
middleware
-
action
-
service
-
component (React component)
easy-redux-gen generate reducer auth
Will create a new directory named auth.js
in the src/reducers
directory.
Destroy a component using the destroy
or d
action.
easy-redux-gen destroy reducer auth
Will destroy the file auth.js
in the src/reducers
directory.
Solely maintained by Esteban Hernández. Open to contributions. Use freely at your own risk.
After checking out the repo, run yarn install
to install dependencies. Then, run yarn test
to run the tests.
Bug reports and pull requests are welcome on GitHub at https://github.com/LySofDev/redux_gen. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.
The package is available as open source under the terms of the MIT License.
Everyone interacting in the node-duplicate-directory project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.d P