3 Commits

Author SHA1 Message Date
tooppaaa
4905904bd2 CLI: move mutualise scripts 2020-06-11 23:25:04 +02:00
Gaëtan Maisse
a06ff34138 fix(cli): add missing pattern in babel ignore attribute
Added the template folder that has been forgotten in 3dd714d3532687d958c41e093187b84ffca603ee
2020-02-14 21:53:02 +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