New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

generator-redux-feature

Package Overview
Dependencies
Maintainers
3
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

generator-redux-feature

Yeoman generator for creating redux feature folders.

  • 0.1.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
decreased by-83.33%
Maintainers
3
Weekly downloads
 
Created
Source

generator-redux-feature NPM version Build Status Dependency Status

Yeoman generator for creating redux feature folders.

This generator generates a redux feature folder structure. The folder structure is similar to Ducks with the main concerns split into their own files. Each main concern (worth testing) has a matching spec file. The spec files are written to work in a Jest testing environment.

The generated folder structure is as follows:

feature/
├── action-types.js
├── actions.js
├── actions.spec.js
├── constants.js
├── index.js
├── reducer.js
├── reducer.spec.js
├── selectors.js
└── selectors.spec.js

The generated files are based on the template in app/templates/feature.

Installation

First, install Yeoman and generator-redux-feature using npm (we assume you have pre-installed node.js).

npm install -g yo
npm install -g generator-redux-feature

Then generate your new redux feature folder:

yo redux-feature feature-name  # feature-name will be the name of your new feature's folder

License

MIT © Fullscreen, Inc.

Keywords

FAQs

Package last updated on 11 Jan 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc