{"id":20420357,"url":"https://github.com/deepraining/react-ts-lib-starter","last_synced_at":"2026-04-07T08:01:36.981Z","repository":{"id":135801625,"uuid":"174462242","full_name":"deepraining/react-ts-lib-starter","owner":"deepraining","description":"一个用于快速创建 React 组件库的模板脚手架，使用 Typescript 与 Storybook 构建. A boilerplate for creating a React library, using Typescript and Storybook.","archived":false,"fork":false,"pushed_at":"2019-07-30T02:16:15.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-05T19:12:52.517Z","etag":null,"topics":["boilerplate","enzyme","gulp","jest","lib","library","react","starter","storybook","typescript","webpack"],"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/deepraining.png","metadata":{"files":{"readme":"README.en.md","changelog":"CHANGELOG.md","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":"2019-03-08T03:25:11.000Z","updated_at":"2020-10-16T10:30:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"11bbbea5-6337-4e82-84bb-c3807f8d89c4","html_url":"https://github.com/deepraining/react-ts-lib-starter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/deepraining/react-ts-lib-starter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepraining%2Freact-ts-lib-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepraining%2Freact-ts-lib-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepraining%2Freact-ts-lib-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepraining%2Freact-ts-lib-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deepraining","download_url":"https://codeload.github.com/deepraining/react-ts-lib-starter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepraining%2Freact-ts-lib-starter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31504897,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T03:10:19.677Z","status":"ssl_error","status_checked_at":"2026-04-07T03:10:13.982Z","response_time":105,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["boilerplate","enzyme","gulp","jest","lib","library","react","starter","storybook","typescript","webpack"],"created_at":"2024-11-15T06:42:33.662Z","updated_at":"2026-04-07T08:01:36.957Z","avatar_url":"https://github.com/deepraining.png","language":"JavaScript","readme":"# react-ts-lib-starter\n\n[中文文档](./README.md)\n\nA boilerplate for creating a React library, using Typescript and Storybook.\n\n## Getting started\n\n```\ngit clone https://github.com/senntyou/react-ts-lib-starter.git --depth=1\n\ncd react-ts-lib-starter\n\nnpm install             # install dependencies\n\nnpm run storybook       # develop using storybook\n\nnpm run build           # build distribution files\n```\n\n## Features\n\n- [less](http://lesscss.org/), [scss](https://sass-lang.com/) style languages support.\n- [TypeScript](http://www.typescriptlang.org/) language, [jest](https://jestjs.io/en/) + [enzyme](https://github.com/airbnb/enzyme) test support.\n- Using [storybook](https://storybook.js.org/) to develop, preview, deploy static site.\n\n## Project\n\n```\n- src\n  - index.{ts,tsx}           # ts entry file\n  - styles\n    - index.{less,scss}      # style entry file\n\n- .storybook                 # for storybook\n- stories                    # for storybook\n```\n\nBy default, styles use `less` language, if you want to use `scss` language, you should modify `package.json` by:\n\n```\n\"scripts\": {\n  - \"build:styles\": \"npm run build:less\",\n  + \"build:styles\": \"npm run build:scss\",\n}\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeepraining%2Freact-ts-lib-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeepraining%2Freact-ts-lib-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeepraining%2Freact-ts-lib-starter/lists"}