{"id":13678779,"url":"https://github.com/brh55/generator-rnc","last_synced_at":"2025-04-12T18:12:37.742Z","repository":{"id":57248741,"uuid":"98569169","full_name":"brh55/generator-rnc","owner":"brh55","description":"🎩 👷🏽 A yeoman generator to scaffold a ready-to-go, open-source react-native component (Jest, Package dependencies, Travis, etc)","archived":false,"fork":false,"pushed_at":"2017-10-09T05:04:13.000Z","size":16,"stargazers_count":12,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-26T12:37:36.450Z","etag":null,"topics":["generator","react","react-native","react-native-components","react-native-stuff","scaffolding","yeoman-generator"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/brh55.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-07-27T18:37:50.000Z","updated_at":"2024-06-13T13:05:28.000Z","dependencies_parsed_at":"2022-08-24T16:50:42.077Z","dependency_job_id":null,"html_url":"https://github.com/brh55/generator-rnc","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brh55%2Fgenerator-rnc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brh55%2Fgenerator-rnc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brh55%2Fgenerator-rnc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brh55%2Fgenerator-rnc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brh55","download_url":"https://codeload.github.com/brh55/generator-rnc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248166937,"owners_count":21058481,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["generator","react","react-native","react-native-components","react-native-stuff","scaffolding","yeoman-generator"],"created_at":"2024-08-02T13:00:58.220Z","updated_at":"2025-04-12T18:12:37.720Z","avatar_url":"https://github.com/brh55.png","language":"JavaScript","funding_links":[],"categories":["License"],"sub_categories":[],"readme":"# generator-rnc [![Travis](https://img.shields.io/travis/brh55/generator-rnc/master.svg?style=flat-square)](https://travis-ci.org/brh55/generator-rnc) [![David](https://img.shields.io/david/dev/brh55/generator-rnc.svg?style=flat-square)](https://david-dm.org/brh55/generator-rnc?type=dev) [![npm](https://img.shields.io/npm/dt/generator-rnc.svg?style=flat-square)](https://www.npmjs.com/package/generator-rnc)\n\u003e 🎩 A yeoman generator to scaffold a ready-to-go react-native component\n\nThis yeoman generator is pretty much inspired from the works of [generator-nm](https://github.com/sindresorhus/generator-nm).\n\n**Nutshell Features:**\n- ✅ Robust package.json with set peer dependencies, author, issue link, etc.\n- ✅ Pre-configured Jest for react-native\n- ✅ Flat-square `readme` badges for Travis, David DM, and NPM downloads\n- ✅ `.gitignore` with ignores for emac files and a whole bunch of nonsense\n- ✅ MIT license and listed on readme\n\n![image](https://user-images.githubusercontent.com/6020066/28790560-37f7260c-75ef-11e7-8eb5-a55483f616cb.png)\n\n## Install\n`$ npm install --global generator-rnc`\n\n## Usage\n1. Install [Yo](http://yeoman.io/)\n2. Run generator, `$ yo rnc`\n3. Answer the prompts and go 🚀!\n\n## Tips \u0026 Troubleshooting\n### Importing/Publishing\n#### How to import locally without have to publish every change?\n1. `cd` into your generated component directory and run `npm link` to create a symlink\n2. `cd` into your application where you want to import component directory and run `npm link \u003cpackage name of component\u003e`\n\nFeel free to read over the [`link`](https://docs.npmjs.com/cli/link) for more information regarding `npm link`\n\n### Testing\n#### CI Build fails because of snapshot error?\nMost likely you have an old snapshot, run `npm run renew-snap` or `jest --updateSnapshot` to renew existing snapshot.\n\nRead the [Snapshot Testing Docs](https://facebook.github.io/jest/docs/en/snapshot-testing.html) for more information.\n\n#### Unit test keep failing even after changes\nThis can be caused by cached files by jest, run `jest --no-cache` or `npm run clean-test` to run the test at a clean state.\n\nFor more additional help, visit the [Jest Troubleshoot Page](https://facebook.github.io/jest/docs/en/troubleshooting.html#content)\n\n## Open-Source Components Built by `generator-rnc`\n- **[react-native-open-maps](https://github.com/brh55/react-native-open-maps)**: A simple lib to open up the corresponding map (Google or Apple Maps) from a set of coordinates (latitude \u0026 longitude) within react-native.\n\n\u003e Did you built something recently? Feel free to add your component on here for others to reference and submit a PR.\n\n## Contributors\n\u003e 👋🏽  Hello, currently looking to add more features, please submit PR's or issues if you have any additional enhancements!\n\n## License\nMIT © [Brandon Him](https://github.com/brh55/generator-rnc)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrh55%2Fgenerator-rnc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrh55%2Fgenerator-rnc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrh55%2Fgenerator-rnc/lists"}