New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
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.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
4
decreased by-60%
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

FAQs

Package last updated on 24 Dec 2015

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