{"id":14969990,"url":"https://github.com/oryoffe/create-react-native-web-app","last_synced_at":"2025-04-05T04:08:46.724Z","repository":{"id":32612635,"uuid":"137889162","full_name":"orYoffe/create-react-native-web-app","owner":"orYoffe","description":"React Native Web CLI","archived":false,"fork":false,"pushed_at":"2023-03-18T12:45:40.000Z","size":2057,"stargazers_count":328,"open_issues_count":8,"forks_count":41,"subscribers_count":15,"default_branch":"master","last_synced_at":"2025-03-29T03:07:46.675Z","etag":null,"topics":["react","react-native","react-native-web","reactjs"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/orYoffe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-06-19T12:35:21.000Z","updated_at":"2025-02-24T16:08:02.000Z","dependencies_parsed_at":"2024-06-21T05:57:26.321Z","dependency_job_id":null,"html_url":"https://github.com/orYoffe/create-react-native-web-app","commit_stats":null,"previous_names":[],"tags_count":18,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orYoffe%2Fcreate-react-native-web-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orYoffe%2Fcreate-react-native-web-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orYoffe%2Fcreate-react-native-web-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orYoffe%2Fcreate-react-native-web-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/orYoffe","download_url":"https://codeload.github.com/orYoffe/create-react-native-web-app/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246131309,"owners_count":20728302,"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":["react","react-native","react-native-web","reactjs"],"created_at":"2024-09-24T13:42:48.926Z","updated_at":"2025-03-29T03:07:52.754Z","avatar_url":"https://github.com/orYoffe.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![SWUbanner](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/banner2-direct.svg)](https://github.com/vshymanskyy/StandWithUkraine/blob/main/docs/README.md)\n\n## Warning: Project is not actively maintained\n# React Native Web CLI\n\n### create-react-native-web-app\n\n[![NPM](https://nodei.co/npm/create-react-native-web-app.png)](https://npmjs.org/package/create-react-native-web-app)\n\n![GitHub issues](https://img.shields.io/github/issues/orYoffe/create-react-native-web-app.svg)\n![license](https://img.shields.io/github/license/orYoffe/create-react-native-web-app.svg)\n![GitHub top language](https://img.shields.io/github/languages/top/orYoffe/create-react-native-web-app.svg)\n![npm](https://img.shields.io/npm/v/create-react-native-web-app.svg)\n\n### A simple CLI tool to start your React Native Web project to develop same app for IOS Android and Web\n\n**Compatibility: React Native \u003e= 0.63**.\n\n\u003cp align=\"center\" \u003e\n\u003cimg width=\"300\"  src=\"https://raw.githubusercontent.com/orYoffe/create-react-native-web-app/master/template/src/logo.png\"\u003e\n\u003c/p\u003e\n\n## Installation\n\n```sh\n# Run create-react-native-web-app \u003cproject-directory\u003e\n$ npx crnwa myApp\n# or\n$ npx create-react-native-web-app myApp\n\n# if you previously installed this package globaly run this command first to uninstall the previous version:\n# npm uninstall -g create-react-native-web-app\n\n# cd into your \u003cproject-directory\u003e\n$ cd myApp\n\n# Run Web/Ios/Android development\n# Web\n$ npm run web\n\n# IOS\n$ npm run ios\n\n# Android\n$ npm run android\n\n```\n\n- To work with IOS and Android - Install Xcode and Android studio and follow the react native instructions [under the \"React Native CLI Quickstart\" tab](https://reactnative.dev/docs/environment-setup)\n\n## Folder structure\n\n```\nmyApp\n├── android (When opening with Android studio, open this folder)\n│   └── android project files\n├── ios (When opening with Xcode, open this folder)\n│   └── ios project files\n├── public\n│   ├── favicon.ico\n│   ├── index.html\n│   └── manifest.json\n└── src\n    └── project code\n```\n\n## Testing\n\n```sh\n# Web and Native\n$ npm run test\n\n# Web\n$ npm run test:web\n\n# Native\n$ npm run test:native\n```\n\n## Debugging\n\nOpen dev menu:\n\n1. CMD+D (IOS) / CMD+M (Android)\n2. Press \"Enable Live-Reload\"\n\n[React native docs - debugging real devices guide](http://facebook.github.io/react-native/releases/0.49/docs/running-on-device.html)\n\n[React native docs - debugging guide](http://facebook.github.io/react-native/docs/debugging.html)\n\n[Network calls in the devtools](http://www.preslav.me/2017/03/26/debugging-network-calls-in-react-native-using-the-chrome-debugger/)\n\n## Build\n\n```sh\n# Web\n$ npm run build\n\n# Android - upgrade the current build version in `android/app/build.gradle` file (both the `versionCode` and the `versionName`)\nExample:\nversionCode 2\nversionName \"1.1\"\n\n# And then run the build\n$ cd android \u0026\u0026 ./gradlew assembleRelease\n\n# Open apk folder to find the release apk\n$ open ./android/app/build/outputs/apk\n```\n\n[React native docs - Android signed apk](http://facebook.github.io/react-native/releases/0.49/docs/signed-apk-android.html)\n\n[React native docs for IOS](http://facebook.github.io/react-native/releases/0.49/docs/running-on-device.html#building-your-app-for-production)\n\n## Resources\n\n- [React Native for Web (react-native-web)](https://github.com/necolas/react-native-web)\n- [React](https://reactjs.org/)\n- [React Native](http://facebook.github.io/react-native/)\n- [Create React App](https://github.com/facebook/create-react-app)\n- [Create React Native App](https://github.com/react-community/create-react-native-app)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foryoffe%2Fcreate-react-native-web-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foryoffe%2Fcreate-react-native-web-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foryoffe%2Fcreate-react-native-web-app/lists"}