React generator (#23150)

* Toolkit: Setup templates

* Toolkit: Add plop

* Toolkit: Setup createComponent task

* Toolkit: Use lodash templates

* Toolkit: Generate story and mdx file

* Toolkit: Add story type

* Toolkit: Fix types

* Toolkit: Add test template

* Toolkit: Remove plop

* Toolkit: Tweak types

* Toolkit: Minor fixes

* Toolkit: Add internal story option

* Toolkit: Fix test

* Toolkit: Clarify prompt

* Toolkit: add prompt list for component group

* Toolkit: make generator script internal

* Toolkit: add description

* Toolkit: add missing when condition
This commit is contained in:
Alex Khomenko
2020-04-10 11:32:49 +03:00
committed by GitHub
parent 1468bab360
commit f458da4d7f
10 changed files with 187 additions and 0 deletions

View File

@ -0,0 +1,3 @@
import _ from 'lodash';
export const pascalCase = _.flow(_.camelCase, _.upperFirst);