{"id":21428662,"url":"https://github.com/spikef/envirs-react-native-cli","last_synced_at":"2025-07-14T10:32:20.883Z","repository":{"id":57226024,"uuid":"42577748","full_name":"Spikef/envirs-react-native-cli","owner":"Spikef","description":"A react native command tool build by Envirs Team.","archived":false,"fork":false,"pushed_at":"2016-01-14T03:06:44.000Z","size":561,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-19T15:56:27.815Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/Spikef.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-09-16T09:28:13.000Z","updated_at":"2019-05-02T09:48:31.000Z","dependencies_parsed_at":"2022-08-24T11:00:29.661Z","dependency_job_id":null,"html_url":"https://github.com/Spikef/envirs-react-native-cli","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/Spikef%2Fenvirs-react-native-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Spikef%2Fenvirs-react-native-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Spikef%2Fenvirs-react-native-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Spikef%2Fenvirs-react-native-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Spikef","download_url":"https://codeload.github.com/Spikef/envirs-react-native-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225970900,"owners_count":17553410,"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":[],"created_at":"2024-11-22T22:14:15.594Z","updated_at":"2024-11-22T22:14:16.076Z","avatar_url":"https://github.com/Spikef.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# envirs-react-native-cli\n\nA react native command tool build by Envirs Team.\n\n## Install\n\n```\nnpm install envirs-react-native-cli -g\n```\n\n## Commands\n\n\u003e Note: Begin start any command, you should cd to your react-native project first.\n\n### bundle\n\nBundle the js files, support both ios and android.\n\n\u003e *Options*\n\u003e + -m --minify: whether to minify the bundle file.\n\u003e + -d --dev: whether to use the dev mode.\n\n*example:*\n\n```\ncd ~/helloworld\nernc bundle ios --minify\nernc bundle android --minify\n```\n\n### keygen\n\nGenerate a private key for android apk.\n\n*example:*\n\n```\ncd ~/helloworld\nernc keygen\n```\n\n*snapshot:*\n\n![image](https://github.com/Spikef/envirs-react-native-cli/raw/master/images/keygen.jpg)\n\n### build \\\u003cPlatform\\\u003e\n\nBuild the app package.\n\n\u003e *Platform*\n\u003e + Android: build a android app.\n\u003e + iOS: build a iOS app, not support yet.\n\n*example:*\n\n```\ncd ~/helloworld\nernc build Android\n```\n\n### name \\\u003cName\\\u003e\n\nSet a new display name for app.\n\n### name [Type]\n\nSet a new version for app.\n\nType: 'code', 'name', 'all' or any allowed version value(eg 1, 1.0, 1.1.1), default is 'name'.\n\nWhen the type is a version value, the real type depends on the value format.\n\n*example:*\n\n`\n1 --\u003e Type is 'code'\n1.1 --\u003e Type is 'name'\n'name 1' --\u003e Type is 'name'\n'code 1.1' --\u003e won't update\n`\n\n\u003e *Options*\n\u003e + -p, --plus [n]: An integer to plus, default is 1.\n\u003e + -m, --main: To update the main version number.\n\u003e + -n, --minor: To update the minor version number.\n\u003e + -f, --fix: To update the fix version number.\n\n### link [Package]\n\nUse rnpm-plugin-link to link native packages to your app. More information to visit: (https://github.com/rnpm/rnpm)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspikef%2Fenvirs-react-native-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspikef%2Fenvirs-react-native-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspikef%2Fenvirs-react-native-cli/lists"}