1.0.7 • Published 10 years ago

generator-react-jspm v1.0.7

Weekly downloads
2
License
MIT
Repository
github
Last release
10 years ago

#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.

1.0.7

10 years ago

1.0.6

10 years ago

1.0.5

10 years ago

1.0.4

10 years ago

1.0.3

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago

0.1.3

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago

0.0.1

10 years ago