{"id":16402141,"url":"https://github.com/santospatrick/react-ts-cdk","last_synced_at":"2026-04-14T23:31:33.435Z","repository":{"id":57346736,"uuid":"114421693","full_name":"santospatrick/react-ts-cdk","owner":"santospatrick","description":"🔥 React + Typescript Boilerplate to develop your own react components and reuse in another projects","archived":false,"fork":false,"pushed_at":"2018-02-17T15:15:05.000Z","size":325,"stargazers_count":1,"open_issues_count":4,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-10-30T05:34:35.281Z","etag":null,"topics":["cdk","react","typescript"],"latest_commit_sha":null,"homepage":null,"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/santospatrick.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":"2017-12-16T00:17:52.000Z","updated_at":"2020-03-29T17:23:17.000Z","dependencies_parsed_at":"2022-08-25T19:41:35.254Z","dependency_job_id":null,"html_url":"https://github.com/santospatrick/react-ts-cdk","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santospatrick%2Freact-ts-cdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santospatrick%2Freact-ts-cdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santospatrick%2Freact-ts-cdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santospatrick%2Freact-ts-cdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/santospatrick","download_url":"https://codeload.github.com/santospatrick/react-ts-cdk/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247192540,"owners_count":20899124,"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":["cdk","react","typescript"],"created_at":"2024-10-11T05:45:11.411Z","updated_at":"2026-04-14T23:31:28.406Z","avatar_url":"https://github.com/santospatrick.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-ts-cdk\n\n\u003cp align=\"center\"\u003e\n    \u003cspan\u003e\n        \u003cimg alt=\"license MIT\" src=\"https://img.shields.io/github/license/santospatrick/react-ts-cdk.svg?style=flat-square\"\u003e\n    \u003c/span\u003e\n    \u003cspan\u003e\n        \u003cimg alt=\"latest release\" src=\"https://img.shields.io/github/release/santospatrick/react-ts-cdk/all.svg?style=flat-square\"\u003e\n    \u003c/span\u003e\n    \u003cspan\u003e\n        \u003cimg alt=\"travis ci build status\" src=\"https://img.shields.io/travis/santospatrick/react-ts-cdk/master.svg?style=flat-square\"\u003e\n    \u003c/span\u003e\n    \u003cspan\u003e\n        \u003cimg alt=\"percentage of code coverage by tests\" src=\"https://img.shields.io/codecov/c/github/santospatrick/react-ts-cdk/master.svg?style=flat-square\"\u003e\n    \u003c/span\u003e\n    \u003cspan\u003e\n        \u003cimg alt=\"minimum node version\" src=\"https://img.shields.io/node/v/react-ts-cdk.svg?style=flat-square\"\u003e\n    \u003c/span\u003e\n    \u003cspan\u003e\n        \u003cimg alt=\"code style: prettier\" src=\"https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square\"\u003e\n    \u003c/span\u003e\n    \u003cspan\u003e\n        \u003cimg alt=\"commitizen friendly\" src=\"https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=flat-square\"\u003e\n    \u003c/span\u003e\n    \u003cspan\u003e\n        \u003cimg alt=\"semantic release\" src=\"https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=flat-square\"\u003e\n    \u003c/span\u003e\n\u003c/p\u003e\n\n\u003e 🔥 React + Typescript Boilerplate to develop your own react components and reuse in another projects\n\n![React Typescript Component Development Kit](images/intro.jpg)\n\n## Motivation\n\nComponents are cool! We should use them everywhere. So, you expent time developing a lot of components and now you want to reuse them in another awesome project \u0026 all your projects need your components updated when a new feature is released (and you also need typechecking, tests, hot module replacement \u0026 all the good stuff).\n\n## Directory Structure\n\n```\n.\n├── src\n|   └── components\n|       └── MyComponent                 # Your component\n|           ├── MyComponent.story.tsx   # Storybook of your component\n|           ├── MyComponent.test.tsx    # Jest + Enzyme tests\n|           ├── MyComponent.tsx         # Its JSX + Typescript file\n|           ├── MyComponent.types.ts    # Types for props\n|           └── index.ts                # Export Component\n|       └── MyComponentX                # Another component X\n|       └── MyComponentY                # Another component Y\n|       └── MyComponentZ                # Another component Z\n|       └── stories.tsx                 # Storybook config file\n├── dist\n|    └── index.js                       # Exporting all Componentss\n```\n\n## Usage\n\n1. Fork it!\n2. install dependencies:\n\n```\nyarn install\n```\n\n3. Create your account in TravisCI \u0026 Code Coverage\n4. Configure TravisCI environment variables `DANGER_GITHUB_API_TOKEN`, `GH_TOKEN` \u0026 `NPM_TOKEN` with right permissions (you can find in their websites) for repo access to release new versions \u0026 intercept in pull requests\n5. Make sure you have these options checked in TravisCI:\n\n![React Typescript Component Development Kit](images/travisci-options.png)\n\n6. Follow [contributing](#contributing)\n7. in your project, run the following:\n\n```\nyarn add https://github.com/yourusername/react-ts-cdk\n```\n\n8. import your components developed in this repo \u0026 use them!\n\n## Features\n\n* [x] React\n* [x] Typescript\n* [x] Storybook\n* [x] Jest\n* [x] Enzyme\n* [x] Webpack\n* [x] Prettier\n* [x] Commitizen\n\n## Workflow\n\n[See presentation](http://slides.com/santospatrick/react-typescript-cdk/fullscreen)\n\n![Repository Workflow](images/workflow.png)\n\n## Contributing\n\n1. Fork it!\n2. install dependencies: `yarn install`\n3. Maybe use storybook to test your component in its final UI version: `yarn run storybook`\n4. If using storybook, then open `localhost:6006` to get a hot module replacement environment to visualize your component after every file saved\n5. Create your feature branch: `git checkout -b my-new-feature`\n6. Check our [workflow](#workflow) (it will help you understand how you should develop your feature), if you haven't yet.\n7. Commit your changes: `yarn run commit`\n8. Push to the branch: `git push origin my-new-feature`\n9. Submit a pull request :smile:\n\n## License\n\n[MIT](https://github.com/santospatrick/react-ts-cdk/blob/master/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsantospatrick%2Freact-ts-cdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsantospatrick%2Freact-ts-cdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsantospatrick%2Freact-ts-cdk/lists"}