Fork this monorepo starter kit to create your own design system and use react-native primitives to build components in isolation and use them across your mobile and web apps.
- lerna
- storybook
- react-native-web
- babel
- jest
- eslint
- styled-components
- stylelint
- prettier
lerna boostrap
at the root of the repo to install dependenciescd packages/universal && yarn run storybook
to launch storybook.- Check the
package.json
to see all the scripts you can run. Better docs coming soon. ;-)
-
Configure jest and storybook addons.
-
Examples for unit tests.
-
Structural Testing (StoryShots).
-
Component files creation script using
plop
to create a new component without having to write any boilerplate.yarn run generate component HelloWorld
-
Real react-native components examples working on both mobile and web.