{"id":16792000,"url":"https://github.com/metonym/template-lib-react","last_synced_at":"2026-04-27T00:31:47.339Z","repository":{"id":36036151,"uuid":"194864553","full_name":"metonym/template-lib-react","owner":"metonym","description":"Template for developing React libraries","archived":false,"fork":false,"pushed_at":"2023-01-04T04:55:29.000Z","size":1744,"stargazers_count":0,"open_issues_count":10,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-01T15:13:12.863Z","etag":null,"topics":["library","reactjs","template","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/metonym.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-07-02T13:04:40.000Z","updated_at":"2020-04-01T15:10:38.000Z","dependencies_parsed_at":"2023-01-16T12:16:01.856Z","dependency_job_id":null,"html_url":"https://github.com/metonym/template-lib-react","commit_stats":null,"previous_names":[],"tags_count":2,"template":true,"template_full_name":null,"purl":"pkg:github/metonym/template-lib-react","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metonym%2Ftemplate-lib-react","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metonym%2Ftemplate-lib-react/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metonym%2Ftemplate-lib-react/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metonym%2Ftemplate-lib-react/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/metonym","download_url":"https://codeload.github.com/metonym/template-lib-react/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metonym%2Ftemplate-lib-react/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32318417,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T23:26:28.701Z","status":"ssl_error","status_checked_at":"2026-04-26T23:26:25.802Z","response_time":129,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["library","reactjs","template","typescript"],"created_at":"2024-10-13T08:43:49.763Z","updated_at":"2026-04-27T00:31:47.316Z","avatar_url":"https://github.com/metonym.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# template-lib-react\n\n[![Build][build]][build-badge]\n[![Coverage][codecov-shield]][codecov]\n\n\u003e Template for developing React libraries in TypeScript and publishing to [npm](https://www.npmjs.com/).\n\n## Getting Started\n\nClone the template and install its dependencies:\n\n```bash\ngit clone git@github.com:metonym/template-lib-react.git\ncd template-lib-react\nyarn install\n```\n\n## Available Scripts\n\n### `yarn build`\n\nBuilds the project for production.\n\n#### Linting, formatting and committing\n\nTo ensure that committed code follows conventions, this project uses `prettier`, `tslint` and git hooks (via `husky`) to automate the linting and formatting of code and commit messages.\n\n### `yarn test`\n\nRuns test using [Jest](https://jestjs.io/) and generates a code coverage report.\n\n### `yarn test:tdd`\n\nRuns tests in \"Test-driven Development Mode.\"\n\n## Publishing to NPM\n\nYou must create an NPM account before publishing packages on the NPM registry.\n\nIn [package.json](package.json), customize the following metadata before publishing to NPM.\n\n```json\n{\n  \"repository\": {\n    \"type\": \"git\",\n    \"url\": \"https://github.com/{USER-NAME}/{REPO-NAME}.git\"\n  },\n  \"homepage\": \"https://github.com/{USER-NAME}/{REPO-NAME}\",\n  \"keywords\": [\"...\"],\n  \"bugs\": \"https://github.com/{USER-NAME}/{REPO-NAME}/issues\"\n}\n```\n\n### `yarn publish`\n\nRuns the `prepublishOnly` command, which first builds the project for production before publishing the library.\n\n## Linting, formatting and committing\n\nTo ensure that committed code follows conventions, this project uses `prettier`, `tslint` and git hooks (via `husky`) to automate the linting and formatting of code and commit messages.\n\n## Tips\n\nWhen building a React component or library, do not include `react` and `react-dom` as direct dependencies. Instead, include them as `devDependencies` and `peerDependencies`.\n\n## License\n\n[MIT](LICENSE)\n\n[build]: https://travis-ci.com/metonym/template-lib-react.svg?branch=master\n[build-badge]: https://travis-ci.com/metonym/template-lib-react\n[codecov]: https://codecov.io/gh/metonym/template-lib-react\n[codecov-shield]: https://img.shields.io/codecov/c/github/metonym/template-lib-react.svg\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmetonym%2Ftemplate-lib-react","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmetonym%2Ftemplate-lib-react","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmetonym%2Ftemplate-lib-react/lists"}