{"id":30580545,"url":"https://github.com/react-component/generator-rc","last_synced_at":"2025-08-29T05:36:56.303Z","repository":{"id":48891300,"uuid":"27800308","full_name":"react-component/generator-rc","owner":"react-component","description":"yeoman generator for react component","archived":false,"fork":false,"pushed_at":"2021-07-06T21:13:27.000Z","size":71,"stargazers_count":58,"open_issues_count":5,"forks_count":14,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-08-20T20:50:42.157Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/react-component.png","metadata":{"files":{"readme":"README.md","changelog":"HISTORY.md","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":"2014-12-10T03:25:03.000Z","updated_at":"2022-04-24T12:02:34.000Z","dependencies_parsed_at":"2022-09-17T04:40:25.615Z","dependency_job_id":null,"html_url":"https://github.com/react-component/generator-rc","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/react-component/generator-rc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/react-component%2Fgenerator-rc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/react-component%2Fgenerator-rc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/react-component%2Fgenerator-rc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/react-component%2Fgenerator-rc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/react-component","download_url":"https://codeload.github.com/react-component/generator-rc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/react-component%2Fgenerator-rc/sbom","scorecard":{"id":765360,"data":{"date":"2025-08-11","repo":{"name":"github.com/react-component/generator-rc","commit":"597c42ba42a0666fec4cb47e6cc81a911b3f2605"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.6,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}}]},"last_synced_at":"2025-08-23T00:37:15.571Z","repository_id":48891300,"created_at":"2025-08-23T00:37:15.571Z","updated_at":"2025-08-23T00:37:15.571Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272636165,"owners_count":24967983,"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","status":"online","status_checked_at":"2025-08-29T02:00:10.610Z","response_time":87,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2025-08-29T05:36:50.885Z","updated_at":"2025-08-29T05:36:56.292Z","avatar_url":"https://github.com/react-component.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# generator-rc\n\nyeoman generator for react component for node 4.0.0\n\nsee also https://github.com/react-component/rc-tools\n\n## Feature\n\n* support typescript\n* support pre-commit\n* support eslint\n* support karma\n* support coveralls.io\n* support travis-ci\n* support saucelabs\n\n## Usage\n\n```\nnpm install yo generator-rc -g\nmkdir test\ncd test\nyo rc --port=8000 --author=yiminghe@gmail.com --rc_version=1.0.0\n```\n\nall parameters:\n\n``\nport defaults to 8000, \n\nauthor defaults to empty, \n\nrc_version defaults to 1.0.0,\n\ntnpm defaults to false,\n\nrepo_url defaults to http://github.com/react-component,\n\npkg_name defaults to parent directory's name,\n``\n\n### file structure\n\n```\n- .travis.yml\n- examples\n - index.html\n - index.tsx\n- src\n - Component.tsx\n - index.tsx\n- index.js\n- tests\n  - index.js\n  - detail.spec.tsx\n- package.json\n```\n\n#### examples/index.tsx\n\n```js\nimport * as ReactDOM from 'react-dom';\nimport * as React from 'react';\nimport Component from 'rc-test';\nReactDOM.render(\u003cComponent /\u003e, document.getElementById('__react-content'));\n```\n\n#### src/Component.tsx\n\n```js\nimport * as React from 'react';\nexport default class Component extends React.Component\u003cany, any\u003e {\n    // TODO\n    render(){\n        return \u003cdiv\u003e\u003c/div\u003e;\n    }\n}\n```\n\n#### .travis.yml\n\n#### package.json\n\n#### detail.spec.tsx\n\n```js\nimport expect from 'expect.js';\nimport * as React from 'react';\nimport Component from 'rc-test';\n\ndescribe('it', function(){\n    it('works', function(){\n        const component = (\u003cComponent/\u003e\u003ca\u003e\u003c/a\u003e\u003c/Component\u003e);\n        expect(component).to.be(component);\n    });\n});\n```\n\n#### index.html\n\n```\nplaceholder\n```\n\n### start server\n\n```\nnpm install\nnpm start\n```\n\n* run `npm run chrome-test` to see test\n* open [http://localhost:8000/examples/](http://localhost:8000/examples/) to see demo","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freact-component%2Fgenerator-rc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freact-component%2Fgenerator-rc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freact-component%2Fgenerator-rc/lists"}