Socket
Book a DemoInstallSign in
Socket

generator-react-jspm

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

generator-react-jspm

A React/jspm Full Project generator, using Redux

1.0.7
latest
Source
npmnpm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

#A Yeoman Generator for React, Redux, and jspm

##app generator (default)

Takes one argument, name, which will be used in the package.json file and the index.html.

This generator sets up a new project in the current directory with

  • A node server
  • A src directory for all client JavaScript
    • Standard redux boilerplate for store, actions, and reducers
    • A main.js file that bootstraps the app
    • A containers directory with boilerplate components
  • package.json
    • jspm configured to run and build out of the src folder
    • dependencies and devDependencies already configured for
      • React
      • Redux
      • Stylus
      • PM2
    • Scripts for
      • Building or watching assets/stylus
      • Packaging jspm with self-executing bundling

##component generator (sub-generator)

Takes one argument, name, which is used for the filename and the class name of the component. Casing will be handled automatically: camelCase for the file, PascalCase for the class name.

Creates a file with empty boilerplate for an ES6 class component, including imports for React, Component, and PropTypes.

Keywords

yeoman-generator

FAQs

Package last updated on 07 Jan 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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.