{"id":16597296,"url":"https://github.com/adrianmcli/dev-react-component","last_synced_at":"2025-09-01T21:45:48.186Z","repository":{"id":73736757,"uuid":"77273426","full_name":"adrianmcli/dev-react-component","owner":"adrianmcli","description":"A minimalistic boilerplate for publishing a React component to NPM.","archived":false,"fork":false,"pushed_at":"2016-12-30T00:34:40.000Z","size":138,"stargazers_count":2,"open_issues_count":3,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-10T07:44:11.265Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/adrianmcli.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2016-12-24T08:19:22.000Z","updated_at":"2016-12-30T01:46:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"63faf167-f8cd-42e3-ad1d-2730da4b81bb","html_url":"https://github.com/adrianmcli/dev-react-component","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adrianmcli%2Fdev-react-component","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adrianmcli%2Fdev-react-component/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adrianmcli%2Fdev-react-component/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adrianmcli%2Fdev-react-component/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adrianmcli","download_url":"https://codeload.github.com/adrianmcli/dev-react-component/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247262913,"owners_count":20910326,"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":[],"created_at":"2024-10-11T23:55:26.241Z","updated_at":"2025-04-04T23:22:48.991Z","avatar_url":"https://github.com/adrianmcli.png","language":"JavaScript","readme":"# dev-react-component\nA minimalistic boilerplate for publishing a React component to NPM:\n\n- No Babel\n- No Webpack\n- No testing\n- No linting\n\nYou get to decide how to bring those in yourself if you decide that you need it.\n\nThis boilerplate focuses on getting you publishing as fast as possible.\n\n# How to use\n\n1. Clone this repo into a folder of your choice and `cd` into it:\n\n  ```\n  git clone https://github.com/adrianmcli/dev-react-component.git my-new-component\n  cd my-new-component\n  ```\n\n2. Delete the existing git history by running `rm -rf .git` and then run `git init` to start fresh.\n3. Run `yarn` or `npm install` to install the dependencies.\n4. Change the `name`, `version`, and `description` inside `package.json`.\n5. Start developing your component inside `src/MyComponent.js`.\n6. Run `npm publish` to publish your component.\n\n# Warning\n\nThis boilerplate makes use of [React Build Lib](https://github.com/adrianmcli/react-build-lib) and [React Build Dist](https://github.com/adrianmcli/react-build-dist) in order to generate the `lib` and `dist` folders for distribution. These two tools generate CommonJS and UMD modules respectively. Use of Babel and Webpack is hidden under the hood so that you can concentrate on sharing your component.\n\nNote that these tools are extremely early in their development (i.e. this is as pre-alpha as it gets).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadrianmcli%2Fdev-react-component","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadrianmcli%2Fdev-react-component","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadrianmcli%2Fdev-react-component/lists"}