https://github.com/zackify/react-generator
quickly create components and get to coding!
https://github.com/zackify/react-generator
Last synced: 11 months ago
JSON representation
quickly create components and get to coding!
- Host: GitHub
- URL: https://github.com/zackify/react-generator
- Owner: zackify
- Created: 2015-05-23T20:45:37.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2015-05-23T20:49:12.000Z (almost 11 years ago)
- Last Synced: 2025-03-14T22:03:23.339Z (12 months ago)
- Language: JavaScript
- Size: 113 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
##React Generator
**Pre release, don't actually try using this on real stuff please ;)**
##Install
npm install reactg
###Usage
This is a very minimal generator right now. After installing, you can run do
`reactg component Testing` or `reactg Testing`.
These both do the same thing, the second is just short hand. Later on I would like to add
an `reactg action Testing` and allow you to choose what flux library you are using, along with
setting an output path for actions and stores.
###reactg.json
You can specify default config variables in `reactg.json`. For now, there's only two options:
{
"constructor": true,
"extension": "jsx"
}
- `constructor`: if you want constructors included when generating a component
- `extension`: what extension to use when outputting your component