eenewbsauce / create-react-app-add-redux

A simple tool that adds Redux to an app created with react-create-app
12 stars 6 forks source link

Add simple alias #10

Closed ldtcooper closed 6 years ago

ldtcooper commented 6 years ago

I've been using this package with an alias that runs the three lines of setup with one line. I couldn't quite figure out how you were getting add-redux to act as a command in the terminal, so I couldn't try and add my alias on install, but I thought that this little alias might make a good addition anyway.

eenewbsauce commented 6 years ago

Hi ldtcooper,

Thank you very much for the PR! This line in the package.json is responsible for adding the add-redux binary to the PATH. I'm not sure why it is not working for you? Any chance you could update the README.md to to include your alias as a workaround?

Thank you,

Ryan

ldtcooper commented 6 years ago

I don't think I was quite clear on what I meant. Using add-redux works fine for me. I just have an alias that puts together the usage steps into one command (for people who want to immediately add Redux to their projects) instead of spreading them over three commands. I went ahead and added my alias to the readme on my branch.

eenewbsauce commented 6 years ago

Totally makes sense! Thank you for clarifying. I appreciate the PR again.