{"id":18876312,"url":"https://github.com/carlosulisesochoa/rollup-react-library-template","last_synced_at":"2025-04-14T17:32:09.079Z","repository":{"id":221430891,"uuid":"754314094","full_name":"CarlosUlisesOchoa/rollup-react-library-template","owner":"CarlosUlisesOchoa","description":"A template and quick-starter kit for creating your own modern React library using Rollup.","archived":false,"fork":false,"pushed_at":"2024-09-10T22:10:56.000Z","size":522,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-09-11T02:35:32.418Z","etag":null,"topics":["library","react","rollup","starter","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/CarlosUlisesOchoa.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-02-07T20:06:21.000Z","updated_at":"2024-09-10T22:10:53.000Z","dependencies_parsed_at":"2024-02-07T23:29:59.865Z","dependency_job_id":"3ca17073-00f8-4efe-973b-9112b99479a0","html_url":"https://github.com/CarlosUlisesOchoa/rollup-react-library-template","commit_stats":null,"previous_names":["carlosulisesochoa/rollup-react-library-template"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CarlosUlisesOchoa%2Frollup-react-library-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CarlosUlisesOchoa%2Frollup-react-library-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CarlosUlisesOchoa%2Frollup-react-library-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CarlosUlisesOchoa%2Frollup-react-library-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CarlosUlisesOchoa","download_url":"https://codeload.github.com/CarlosUlisesOchoa/rollup-react-library-template/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223639308,"owners_count":17177816,"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":["library","react","rollup","starter","template","typescript"],"created_at":"2024-11-08T06:12:25.472Z","updated_at":"2024-11-08T06:12:26.090Z","avatar_url":"https://github.com/CarlosUlisesOchoa.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# React Component Library Template/Boilerplate\n\nA template and quick-starter kit for creating your own modern React library using Rollup.\n\n## Introduction\n\nThis boilerplate leverages [Rollup](https://rollupjs.org/) for bundling, providing a solid starting point for developing React component libraries.\n\n## Features\n\n- Bundling with [Rollup](https://rollupjs.org/) for `commonjs` and `es` module formats.\n- Testing with [Jest](https://jestjs.io/) and [React Testing Library](https://testing-library.com/).\n- Support for [TypeScript](https://www.typescriptlang.org/) for static type checking.\n- Sourcemap generation for easier debugging.\n- CSS/SASS support for styling components.\n- Bundle size optimization with [@rollup/plugin-terser](https://www.npmjs.com/package/@rollup/plugin-terser).\n- Automatic externalization of peerDependencies in the Rollup bundle using [rollup-plugin-peer-deps-external](https://www.npmjs.com/package/rollup-plugin-peer-deps-external).\n- Code formatting and linting with ESLint \u0026 Prettier.\n\n## Getting Started\n\n1. Create a new repository using this template.\n2. Clone your repository.\n3. Enable `pnpm` (if not already enabled) and install dependencies with `npm install`.\n\n### Development\n\nFor local development, run Rollup in watch mode to automatically recompile your `src/` module into `dist/` on file changes.\n\n```bash\nnpm run dev\n```\n\n### Scripts:\n\n- `npm run build`: Builds the library to dist.\n- `npm run dev`: Builds the library and watches for changes.\n- `npm test`: Runs tests and displays coverage.\n- `npm run lint`: Lints your code.\n- `npm run prettier`: Formats your code with Prettier.\n\n### Publishing to npm:\n\npublish to npm\nRun:\n\n```bash\nnpm publish\n```\n\n## License\n\n[MIT](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcarlosulisesochoa%2Frollup-react-library-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcarlosulisesochoa%2Frollup-react-library-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcarlosulisesochoa%2Frollup-react-library-template/lists"}