{"id":14155310,"url":"https://github.com/morewings/cra-template-npm-library","last_synced_at":"2025-08-06T01:30:52.657Z","repository":{"id":39170156,"uuid":"250870963","full_name":"morewings/cra-template-npm-library","owner":"morewings","description":"Create React App template to build and publish NPM libraries with typescript support, and rollup, eslint, stylelint configurations","archived":true,"fork":false,"pushed_at":"2024-04-07T19:38:20.000Z","size":5015,"stargazers_count":24,"open_issues_count":14,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-08-17T08:05:03.558Z","etag":null,"topics":["cra-template","create-react-app","create-react-app-template","eslint","npm-library","react-testing-library","stylelint","template","typescript"],"latest_commit_sha":null,"homepage":"https://github.com/morewings/cra-template-npm-library/wiki","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/morewings.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":"2020-03-28T18:55:58.000Z","updated_at":"2024-08-17T08:05:10.267Z","dependencies_parsed_at":"2023-02-18T03:46:31.957Z","dependency_job_id":"a5ecc8cd-c994-4324-849c-f7af649d3186","html_url":"https://github.com/morewings/cra-template-npm-library","commit_stats":{"total_commits":611,"total_committers":5,"mean_commits":122.2,"dds":"0.41243862520458263","last_synced_commit":"d5eeb65f361a9a6fe75f32135083d46a784acd55"},"previous_names":[],"tags_count":27,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morewings%2Fcra-template-npm-library","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morewings%2Fcra-template-npm-library/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morewings%2Fcra-template-npm-library/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morewings%2Fcra-template-npm-library/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/morewings","download_url":"https://codeload.github.com/morewings/cra-template-npm-library/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228821401,"owners_count":17977166,"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":["cra-template","create-react-app","create-react-app-template","eslint","npm-library","react-testing-library","stylelint","template","typescript"],"created_at":"2024-08-17T08:02:49.124Z","updated_at":"2024-12-09T02:31:15.394Z","avatar_url":"https://github.com/morewings.png","language":"JavaScript","funding_links":[],"categories":["typescript"],"sub_categories":[],"readme":"# Deprecation notice\n\n**Create React App is not updated by its maintainers anymore. So this project can't be updated as well. I recommend to use [React Library Template](https://github.com/morewings/react-library-template) which has all the same functionality plus new features.**\n\n# NPM library Create React App template\n\n[![NPM library Create React App template logo](./design/logo.png)](#)\n\n\n[Create React App](https://github.com/facebook/create-react-app) (CRA) template to build and publish NPM libraries with **rollup**, **eslint** and **stylelint** configurations.\n\n🎁👌🤓 **NEW!** Now with **Typescript** support.\n\nRead [full documentation](https://github.com/morewings/cra-template-npm-library/wiki).\n\nVisit [Demo Storybook](https://morewings.github.io/cra-template-npm-library).\n\n## Features\n\n- Supports **Typescript** and **Javascript**.\n- Bundles `commonjs` and `es` module formats.\n- [Husky](https://github.com/typicode/husky) for git hooks.\n- [Eslint](https://eslint.org/) and [stylelint](https://stylelint.io/).\n- [Rollup](https://rollupjs.org/guide/en/) for bundling.\n- [Jest](https://jestjs.io/) and [react-testing-library](https://testing-library.com/docs/react-testing-library/intro) for testing.\n- Supports CSS modules, SASS/SCSS and PostCSS.\n- [Storybook](https://storybook.js.org/) for documentation and demo.\n- And [much more](https://github.com/morewings/cra-template-npm-library/wiki).\n\n## Quickstart\n\n```shell script\nnpx create-react-app %PROJECT_NAME% --template npm-library\nyarn create react-app %PROJECT_NAME% --template npm-library\npnpm create react-app %PROJECT_NAME% --template npm-library\n```\n\nThen\n\n```shell script\ncd %PROJECT_NAME%\nnpm run prepare\nyarn run prepare\npnpm run prepare\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmorewings%2Fcra-template-npm-library","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmorewings%2Fcra-template-npm-library","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmorewings%2Fcra-template-npm-library/lists"}