{"id":26823722,"url":"https://github.com/bytecodeagency/bytecode-react-cli","last_synced_at":"2026-04-05T21:01:40.577Z","repository":{"id":57192106,"uuid":"215621773","full_name":"BytecodeAgency/Bytecode-React-CLI","owner":"BytecodeAgency","description":"(MIRROR) Bytecode React CLI that creates React components in line with the Bytecode Coding Standards","archived":false,"fork":false,"pushed_at":"2020-08-11T09:11:27.000Z","size":106,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-03T08:38:40.921Z","etag":null,"topics":["bytecode","bytecode-agency","cli","react","reactjs"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BytecodeAgency.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":"2019-10-16T18:53:53.000Z","updated_at":"2020-08-11T09:11:25.000Z","dependencies_parsed_at":"2022-09-01T00:52:34.058Z","dependency_job_id":null,"html_url":"https://github.com/BytecodeAgency/Bytecode-React-CLI","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BytecodeAgency%2FBytecode-React-CLI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BytecodeAgency%2FBytecode-React-CLI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BytecodeAgency%2FBytecode-React-CLI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BytecodeAgency%2FBytecode-React-CLI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BytecodeAgency","download_url":"https://codeload.github.com/BytecodeAgency/Bytecode-React-CLI/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246296582,"owners_count":20754635,"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":["bytecode","bytecode-agency","cli","react","reactjs"],"created_at":"2025-03-30T09:16:27.282Z","updated_at":"2025-10-05T22:45:27.879Z","avatar_url":"https://github.com/BytecodeAgency.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bytecode React CLI\n\n\u003e Currently in alpha phase, the CLI API is not yet stable\n\nA command-line tool to generate React components in Typescript following the conventions at Bytecode.\n\n## Installation\n\nRun `yarn add -D bytecode-react-cli`.\n\n## Usage\n\nYou can use the CLI by adding the command to your `package.json` script section: `\"bcr\": \"./node_modules/bytecode-react-cli/bin/cli.js\"`.\n\nBefore you can use the CLI tool, add a `.bcr-config.js` file, f.e.:\n\nWeb:\n\n```js\nmodule.exports = {\n    options: {\n        Component: { path: \"src/components\", template: \"reactWebNoRedux\" },\n        Container: { path: \"src/containers\", template: \"reactWebWithRedux\" },\n        Section: { path: \"src/sections\", template: \"reactWebWithRedux\" },\n        Page: { path: \"src/pages\", template: \"reactWebNoRedux\" },\n        ReduxDomain: {\n            path: \"src/store\",\n            template: \"reduxDomain\",\n            additionalInstructions:\n                \"Don't forget to add your domain to the `src/store/rootReducer.ts` file and the StoreState type\",\n        },\n    },\n};\n```\n\nOr for native:\n\n```js\nmodule.exports = {\n    options: {\n        Component: { path: \"src/components\", template: \"reactNativeNoRedux\" },\n        Container: { path: \"src/containers\", template: \"reactNativeWithRedux\" },\n        Section: { path: \"src/sections\", template: \"reactNativeWithRedux\" },\n        Page: { path: \"src/pages\", template: \"reactNativeNoRedux\" },\n        ReduxDomain: {\n            path: \"src/store\",\n            template: \"reduxDomain\",\n            additionalInstructions:\n                \"Don't forget to add your domain to the `src/store/rootReducer.ts` file and the StoreState type\",\n        },\n    },\n};\n```\n\n## Available templates\n\n* `reactWebNoRedux`\n* `reactWebWithRedux`\n* `reactNativeNoRedux`\n* `reactNativeWithRedux`\n* `reduxDomain`\n\n## License\n\nGPL-3.0-only\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbytecodeagency%2Fbytecode-react-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbytecodeagency%2Fbytecode-react-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbytecodeagency%2Fbytecode-react-cli/lists"}