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

@veams/bp-redux

Package Overview
Dependencies
Maintainers
2
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@veams/bp-redux

Blueprint templates for redux store.

  • 0.0.9
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
20
Maintainers
2
Weekly downloads
 
Created
Source

Veams Blueprint :: Redux (@veams/bp-redux)

With this blueprint you can scaffold a whole store slice in your application. Let's say you have a module called articles and you want to add a store slice to that module, then you can use Veams to do that automatically for you by using this blueprint.

Setup

  1. First of all be sure you have installed @veams/cli.
  2. After that be sure your project contains a veams-cli.json.
  3. Make sure you have updated veams-cli.json to fit the needs of your project.
  4. Install the package with npm i @veams/bp-redux --save-dev.
  5. Reference the package in veams-cli.json by adding store to the blueprint object like so:
{
    "blueprints": {
        "store": {
            "skipImports": true,
            "path": "node_modules/@veams/bp-redux"
        }
    }
}

Usage

Now you can use this blueprint with veams by executing:

veams add store modules/articles

The output will be:

├── articles
    ├── services
    │   └── articles.service.js
    └── store
        ├── articles.actions.js
        ├── articles.epics.js
        ├── articles.reducer.js
        ├── articles.selectors.js
        └── articles.state.js

Every file is configured and prefixed with articles, because that is the namespace you used in the terminal.

Have fun!

Keywords

FAQs

Package last updated on 06 Mar 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