https://github.com/kocisov/wooo
Tool that helps you add Redux to your React project without pain
https://github.com/kocisov/wooo
cli client command command-line command-line-tool create-react-app npm react react-redux react-router react-router-redux redux scaffold tool yarn
Last synced: 4 months ago
JSON representation
Tool that helps you add Redux to your React project without pain
- Host: GitHub
- URL: https://github.com/kocisov/wooo
- Owner: kocisov
- License: mit
- Created: 2016-10-13T13:16:14.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-03-25T12:41:55.000Z (over 7 years ago)
- Last Synced: 2025-02-12T08:16:36.163Z (5 months ago)
- Topics: cli, client, command, command-line, command-line-tool, create-react-app, npm, react, react-redux, react-router, react-router-redux, redux, scaffold, tool, yarn
- Language: JavaScript
- Homepage: https://kocisov.github.io/wooo/
- Size: 36 MB
- Stars: 61
- Watchers: 4
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![]()
# Wooo [](https://travis-ci.org/Kocisov/wooo) [](http://npmjs.com/redux-wooo) [](https://david-dm.org/kocisov/wooo) [](https://codeclimate.com/github/Kocisov/wooo)
> Tool that helps you add Redux to your React project without pain## Main goal of wooo
Let users write one command instead of creating 5 folders, 10+ files and installing 4 dependencies for Redux to get going.## So, what does wooo do?
**Wooo** does install required dependencies and create [template files](https://github.com/Kocisov/wooo/tree/master/templates) in specified path with:
1. One [duck](https://github.com/erikras/ducks-modular-redux) module for user login/logout
2. One stateless Component with CSS
3. React-router and react-router-redux reducer (You can choose v4 or v3 (default) template)
4. Redux store configuration for production and development by process.env.NODE_ENV check
5. One Container with connected props by connect() function**This is pretty much just fast scaffolding, not actual code! But it can be edited to be production-ready with few more lines.**
## Installation
**Node version 6 or higher is required!**
```bash
# with yarn
$ yarn global add redux-wooo# with npm
$ npm install -g redux-wooo
```## Usage
```
wooo [options]
--help, -h Show Wooo's usage.
--version, -v Show Wooo's version.
--template, -t [name] Specify which template should Wooo create (templates directory)
--npm, -n Use npm for installing dependencies. (Wooo uses Yarn by default)
--dir, -d [path] Directory, where do you want to create files by Wooo. (Dependencies are written into package.json (yarn creates new package.json if it is not present) in current directory)
```**Default path for files is src folder in your current location in command line!**
## Contribution
If you want to add template, just fork the repo and add your template files in folder into [/template](https://github.com/Kocisov/wooo/tree/master/templates).This is not ideal and in the future Wooo will have better system for this.