Skip to content

facugu1998/shared-library-template

Repository files navigation

React and React Native shared library generator

Yeoman generator for generating an opinionated React and React Native shared library.

Installation

Install Yeoman and then the generator-react-rn-shared-library generator:

npm install -g yo
npm install -g generator-react-rn-shared-library

Usage

Run Yeoman command to generate the shared library:

npx yo react-rn-shared-library

Complete the inputs:

? Your project name: shared-library
? Your package name: shared-package
? Year: 2025
? Author: Unknown Author
? Repository URL (optional):
? Homepage URL (optional):

This will generate a file structure in path ./shared-library/

├── LICENSE
├── babel-preset.js
├── babel.config.js
├── package.json
└── packages
    ├── expo-example
    │       ...
    ├── react-js-example
    │       ...
    └── shared-library
            ...

Contributing

Pull requests are welcome.

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published