0.1.1 • Published 8 years ago

generator-react-flux-scaffold v0.1.1

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

generator-react-flux-scaffold NPM version Build Status Dependency Status

Scaffolding for project with react, fulx and glup.

Installation

First, install Yeoman and generator-react-flux-scaffold using npm (we assume you have pre-installed node.js).

npm install -g yo
npm install -g generator-react-flux-scaffold

Then generate your new project:

yo react-flux-scaffold

Then start your project:

gulp

Folder Structure

  • This generator gives you a folder structure as below:
        -- docs                               (To store the application docs if any)
        -- src                                (Main Application Folder)
            -- actions                        (All the action files)
            -- components                     (All React Components)
                -- HomeComponent              (Folder for each component)
                    -- home.css               (Css file for Home component)
                    -- Home.js                (Component file)
                    -- package.json           (this will have version of Component, this is different from Project package.json)
            -- constants                      (all constants for our application)
            -- dispatcher                     (Flux dispather that dispatches our actions)
            -- images                         (images req for our app)
            -- routes                         (This will have routes to our components, we are using "react-router")
            -- services                       (Here we can do ajax/service calls)
            -- stores                         (Flux stores for our app)
            -- utils                          (Anything else like properties files)
            -- index.html                     (Only HTML page for our app)
            -- main.js                        (starting point of our app)
        -- .bablerc
        -- .gitignore
        -- gulpfile.js
        -- package.json

Getting To Know Yeoman

  • Yeoman has a heart of gold.
  • Yeoman is a person with feelings and opinions, but is very easy to work with.
  • Yeoman can be too opinionated at times but is easily convinced not to be.
  • Feel free to learn more about Yeoman.

License

MIT © Chaitanya

0.1.1

8 years ago

0.1.0

8 years ago

0.0.9

8 years ago

0.0.8

8 years ago

0.0.7

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago

0.0.0

8 years ago