2 Commits

Author SHA1 Message Date
Gaëtan Maisse
ded6324ebd refactor(cli): replace some default exports with named ones
For some reason why see https://blog.neufund.org/why-we-have-banned-default-exports-and-you-should-do-the-same-d51fdc2cf2ad
2020-02-11 19:41:47 +01:00
Gaëtan Maisse
3dd714d353 refactor: transpile @storybook/cli to CJS with Babel
- move all source code in `src` as it's, by convention in SB monorepo, the source folder for Babel
 - update `.babelrc.json` to ignore all templates files
 - add `prepare` NPM script as in all other libs
 - update `cleanup` stage of `prepare` script to avoid removing anything from `@storybook/cli/dist/generators/**/template*` folder because there are the template files that will be copied to initialize SB on users' projects
2020-02-11 19:41:47 +01:00