Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLI for simpler project setup #208

Closed
sapegin opened this issue Oct 31, 2016 · 0 comments
Closed

CLI for simpler project setup #208

sapegin opened this issue Oct 31, 2016 · 0 comments
Assignees

Comments

@sapegin
Copy link
Member

sapegin commented Oct 31, 2016

Initial Styleguidist configuration is still complicated and might turn off potential users. We can make initial setup much easier with a CLI tool like React Storybook does:

npm i -g getstorybook
cd my-react-app
getstorybook

It contains lots of useful magic like detection of project type (create-react-app, custom Webpack, etc.), yarn/npm, etc. We may even fork getstorybook and tweak it for Stylegudist.

What I want CLI to do:

  • Detect create-react-app and add it’s own Webpack config.
  • Add useful default Webpack loaders.
  • Detect/ask components option.
  • Add npm scripts.
  • Add and install npm dependencies.
  • What else we can do?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant