{"id":18057642,"url":"https://github.com/bring-shrubbery/easy-npm-package-react","last_synced_at":"2025-10-04T10:54:20.719Z","repository":{"id":43353281,"uuid":"381244941","full_name":"bring-shrubbery/easy-npm-package-react","owner":"bring-shrubbery","description":"React and Typescript NPM package setup, just add your code and you should be able to publish it to NPM","archived":false,"fork":false,"pushed_at":"2025-02-14T13:13:05.000Z","size":228,"stargazers_count":12,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-11T04:43:15.763Z","etag":null,"topics":["es6","esbuild","eslint","github-actions","jest","npm","prettier","react","swc","tsup","typescript"],"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/bring-shrubbery.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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,"zenodo":null},"funding":{"github":["bring-shrubbery"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2021-06-29T05:04:58.000Z","updated_at":"2025-02-14T13:13:09.000Z","dependencies_parsed_at":"2025-04-11T04:43:18.834Z","dependency_job_id":"d14e38ad-801b-4e85-90e8-d09a9401f3e1","html_url":"https://github.com/bring-shrubbery/easy-npm-package-react","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/bring-shrubbery/easy-npm-package-react","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bring-shrubbery%2Feasy-npm-package-react","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bring-shrubbery%2Feasy-npm-package-react/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bring-shrubbery%2Feasy-npm-package-react/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bring-shrubbery%2Feasy-npm-package-react/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bring-shrubbery","download_url":"https://codeload.github.com/bring-shrubbery/easy-npm-package-react/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bring-shrubbery%2Feasy-npm-package-react/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278302563,"owners_count":25964520,"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-10-04T02:00:05.491Z","response_time":63,"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":["es6","esbuild","eslint","github-actions","jest","npm","prettier","react","swc","tsup","typescript"],"created_at":"2024-10-31T02:08:27.762Z","updated_at":"2025-10-04T10:54:20.667Z","avatar_url":"https://github.com/bring-shrubbery.png","language":"JavaScript","funding_links":["https://github.com/sponsors/bring-shrubbery"],"categories":[],"sub_categories":[],"readme":"# 😌 Easy NPM Package template for React\n\nThis package is a template you can use to create [NPM](https://npmjs.org/) packages that work well with the React library.\n\n## Project Overview\n\nThis project includes following features:\n\n- 🚀 Ultra fast code bundling powered by [ESBuild](https://esbuild.github.io/) using [tsup](https://github.com/egoist/tsup).\n- 🚀 Turbo speed testing with [`@swc/jest`](), [Jest](https://jestjs.io/) and [React Testing Library](https://testing-library.com/docs/react-testing-library/intro/).\n- 💅 Prettier for code formatting.\n- 💅 ESLint for code linting.\n- 🥺 Husky for commit validation.\n- 🚀 Github action to automatically publish the package on every Github Release.\n- 🚀 Github action to automatically test default branch or a new Pull Request.\n- 🚀 Double build for CommonJS and ES Modules - to support all JavaScript environments.\n\n## Getting started\n\n### `Use this template` button\n\nThe easiest way of getting started with this template is to use the `Use this template` button at the top of this page - then follow the steps to create your own repo from it.\n\n### Degit\n\nYou can use [`degit`](https://github.com/Rich-Harris/degit) to clone this repo without the git history.\n\n```bash\nnpx degit github:bring-shrubbery/easy-npm-package-react\n```\n\n### Adding source code and building\n\nAll your source code should go into `src` folder.\nAfter you do that run `yarn build` and you'll have your code compiled into `dist` folder.\nYou can also run `yarn test` to test your code after you add your tests.\n\n### Environment Variables\n\nTo have package automatically deployed on new release, add `npm_token` env variable to your Github repository.\n\n## Support\n\nPlease consider following this project's author, Antoni Silvestrovič on [Github](https://github.com/bring-shrubbery) or [Bluesky](https://bsky.app/profile/bring-shrubbery.bsky.social), or by starring the project to show your ❤️ and support.\n\n## License\n\n[MIT](https://github.com/bring-shrubbery/easy-npm-package-react/blob/main/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbring-shrubbery%2Feasy-npm-package-react","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbring-shrubbery%2Feasy-npm-package-react","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbring-shrubbery%2Feasy-npm-package-react/lists"}