Brainstorm
Quick start tool for React component prototyping.
> npm install -g brainstorm
Then from the command line, create your project. This will do a few things:
- Create a new directory
- Install dependencies
- Open your text editor
- Open your browser
> brainstorm new-react-component
option | alias | default | notes |
---|---|---|---|
editor | e | subl | the editor to open your new directory in |
browser | b | "Google Chrome" | the browser to use |
> brainstorm new-react-component --browser firefox --editor atom
> brainstorm new-react-component -b firefox -e atom
TODO
- Add tests
- Add --redux support
- Look into postinstall for downloading component dependencies once to avoid
npm install
. - Better
editor
andbrowser
support.