Luko Design System using react-native for iOS and Android
The objective of the sandbox project is to showcase all the components available from the Streamline library.
To start the sandbox expo project, run the following command
yarn sandbox start
To run tests, run the following command
yarn test
Maestro installation requirement
-
Run iPhone
12
simulator orPixel 5 API 33
emulator -
Start expo
yarn sandbox start:e2e
- re-generate screenshots with maestro
yarn sandbox test:visual:[ios|android]
- Compare screenshots with reg-cli
yarn sandbox test:visual:[ios|android]:compare
📺 All good with your new screenshots?
Then move them from e2e/android/tempScreenshots
to e2e/android/screenshots
yarn generate:icons:regular
yarn generate:icons:small
We are using react-native-builder-bob to build the library and release-it to publish it on NPM.
To build & publish the library, you can execute the Release & Publish to NPM workflow. It will automatically:
- Bump version (in package.json)
- Git commit, tag, push
- Create release on Github
- Publish to npm
yarn && yarn prepare && yarn release
MIT
Made with create-react-native-library