Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@flowio/generator-console

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@flowio/generator-console

Yeoman generator for Flow's console

  • 0.0.1
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-50%
Maintainers
1
Weekly downloads
 
Created
Source

generator-console

Yeoman generator for console

Modules

console

The default action when executing yo console. Automatically runs console:module.

console:module

A module is a set of files around a page or section of the console app. It's based off a shared redux reducer key. This will generate the following files and put them in app/modules/{module_name}:

  • component - The React component code
  • actions - the flux/redux actions used by the component
  • reducer - the redux reducer for the module
  • constants - the action constants shared by actions.js and reducer.js
  • fetcher - the server side code (used by app/server/react-router-render.js) that returns the redux state for this module.
  • index - exports all of the other files for reference by the app

console:meta

Generates meta data files for use by the console app. Reads all of the module directories in app/modules and creates easily importable sets for fetchers and reducers. This allows the app to 'dynamically' pull in the generated module code.

This should be run as either part of the build process for console or every time a module is created.

  • fetchers - an importable list of all the fetchers in the app.
  • reducers - an importable list of all of the reducers in the app.

Keywords

FAQs

Package last updated on 17 May 2016

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