Socket
Socket
Sign inDemoInstall

cli-rxss

Package Overview
Dependencies
4
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    cli-rxss

Cli for white-label app


Version published
Weekly downloads
38
increased by1800%
Maintainers
1
Install size
1.30 MB
Created
Weekly downloads
 

Readme

Source

README

RXSS Generator

The rxss generator generates components, class-components, containers, & stores based off of react and mobx. It is assumed that the file structure is the following

. [project folder]
+-- src
| +-- components
| +-- containers 
| +-- stores

Installing

npm -i cli-rxss -D or yarn add cli-rxss -D npm link cli-rxss

Commands

rxss -g [type] -n [name]

The name must either be all lower case or snake-case-syntax in order to name the files properly

Available Types

  • component -> Creates a functional react component with spec file.
  • component:mobx -> Creates a functional react component wrapped in mobx-react observer with spec file.
  • class-component -> Creates a class based react component with spec file.
  • class-component:mobx -> Creates a class based react component wrapped in mobx-react observer with spec file.
  • container -> Creates a container react component with spec file.
  • container:mobx -> Creates a container react component wrapped in mobx-react observer with spec file.
  • store -> Creates a mob-x store with spec file.

FAQs

Last updated on 19 Jul 2017

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc