diff --git a/README.md b/README.md index 125971b..d0e8247 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,7 @@ Generates a [JSX](http://facebook.github.io/react/docs/jsx-in-depth.html) compon Example: ```bash -yo react-webpack:component foo +yo react-webpack:component foo //or just: yo react-webpack:c foo ``` Produces `src/scripts/components/Foo.js` (*javascript - JSX*): @@ -109,7 +109,7 @@ When using Flux or Reflux architecture, it generates an actionCreator in `src/sc Example: ```bash -yo react-webpack:action bar +yo react-webpack:action bar //or just: yo react-webpack:a bar ``` Will create a file - `src/scripts/actions/BarActionCreators.js` @@ -160,7 +160,7 @@ When using Flux or Reflux architecture, it generates a store in `src/scripts/sto Example: ```bash -yo react-webpack:store baz +yo react-webpack:store baz //or just: yo react-webpack:s baz ``` Will create a file - `src/scripts/stores/BazStore.js` diff --git a/a/index.js b/a/index.js new file mode 100644 index 0000000..eeffccf --- /dev/null +++ b/a/index.js @@ -0,0 +1 @@ +module.exports = require('../action'); diff --git a/c/index.js b/c/index.js new file mode 100644 index 0000000..d61f628 --- /dev/null +++ b/c/index.js @@ -0,0 +1 @@ +module.exports = require('../component'); diff --git a/s/index.js b/s/index.js new file mode 100644 index 0000000..4b2cf54 --- /dev/null +++ b/s/index.js @@ -0,0 +1 @@ +module.exports = require('../store');