{"id":21090323,"url":"https://github.com/xinlc/react-native-typescript-template","last_synced_at":"2025-05-16T13:31:21.103Z","repository":{"id":38950654,"uuid":"200212195","full_name":"xinlc/react-native-typescript-template","owner":"xinlc","description":"this is a template for reac native + TS + redux + saga architecture","archived":false,"fork":false,"pushed_at":"2023-01-04T06:10:42.000Z","size":22514,"stargazers_count":5,"open_issues_count":23,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-04T01:32:06.811Z","etag":null,"topics":["react-native","redux","redux-saga","typescript"],"latest_commit_sha":null,"homepage":"https://blog.lichao.xin/front-end/rn/rn-zero-to-one/#more","language":"TypeScript","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/xinlc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-08-02T10:02:15.000Z","updated_at":"2024-03-20T10:29:44.000Z","dependencies_parsed_at":"2022-08-30T02:01:15.525Z","dependency_job_id":null,"html_url":"https://github.com/xinlc/react-native-typescript-template","commit_stats":null,"previous_names":[],"tags_count":3,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xinlc%2Freact-native-typescript-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xinlc%2Freact-native-typescript-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xinlc%2Freact-native-typescript-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xinlc%2Freact-native-typescript-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xinlc","download_url":"https://codeload.github.com/xinlc/react-native-typescript-template/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254538364,"owners_count":22087853,"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":["react-native","redux","redux-saga","typescript"],"created_at":"2024-11-19T21:35:30.759Z","updated_at":"2025-05-16T13:31:18.222Z","avatar_url":"https://github.com/xinlc.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# react-native-typescript-template\n\n[Getting started guide](https://xinlc.github.io/2019/08/03/front-end/rn/rn-zero-to-one/#more)\n\n## Installation\n\n```bash\n# react-native link\n# react-native link @ant-design/icons-react-native\nyarn install\ncd ios \u0026 pod install\n```\n\n## Usage\n\n```bash\n\n# Development server\nyarn start\n\n# Build dev\n# APK in android/app/build/outputs/apk/\nreact-native run-android \n\nreact-native run-ios\n\n# Build release\nbash scripts/android_build.sh [version] [index] [test|release]\n```\n\n## Debugger\n```bash\nreact-devtools\nadb reverse tcp:8097 tcp:8097\n\nadb devices\nadb -s \u003cdevice name\u003e reverse tcp:8081 tcp:8081\nadb reverse tcp:8081 tcp:8081\n\nadb shell input keyevent 82\n\nnpm start -- --reset-cache\n\nreact-native log-ios\nreact-native log-android\n```\n\n## VSCode\n推荐安装：\n- `ESLint`\n- `Prettier`\n- `TabNine`\n- `Reactjs code snippets`\n- `React-Native/React/Redux snippets for es6/es7`\n- `Project Manager`\n- `Search node_modules`\n- `Guides`\n- `Color Highlight`\n- `vscode-icons`\n- `Import Cose`\n\n添加配置如下：\n```json\n{\n  \"eslint.validate\": [\n    \"javascript\",\n    \"javascriptreact\",\n    {\n      \"language\": \"typescript\",\n      \"autoFix\": true\n    },\n    {\n      \"language\": \"typescriptreact\",\n      \"autoFix\": true\n    }\n  ]\n\n}\n```\n\n## Documents\n- [react](https://reactjs.org/)\n- [react-native](https://facebook.github.io/react-native/)\n- [react-native-components](https://facebook.github.io/react-native/docs/view)\n- [react-native-router-flux](https://github.com/aksonov/react-native-router-flux)\n- [react-navigation](https://reactnavigation.org/docs/en/getting-started.html)\n- [react-native-vector-icons](https://github.com/oblador/react-native-vector-icons)\n- [ant-design-mobile](https://mobile.ant.design/index-cn)\n- [redux](https://github.com/reactjs/redux)\n- [redux-cn](https://www.redux.org.cn)\n- [react-redux-cn](http://cn.redux.js.org/docs/react-redux/)\n- [react-redux](https://react-redux.js.org/)\n- [redux-sage](https://redux-saga-in-chinese.js.org)\n- [iron-redux](https://github.com/nefe/iron-redux)\n- [redux-actions](https://github.com/redux-utilities/redux-actions)\n- [TypeScript](https://github.com/microsoft/TypeScript)\n- [TypeSearch](https://github.com/Microsoft/TypeSearch)\n- [axios](https://github.com/axios/axios)\n- [immutable](https://github.com/immutable-js/immutable-js)\n- [moment](https://github.com/moment/moment/)\n- [lodash](https://www.lodashjs.com/docs/latest)\n- [yarn](https://github.com/yarnpkg/yarn)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxinlc%2Freact-native-typescript-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxinlc%2Freact-native-typescript-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxinlc%2Freact-native-typescript-template/lists"}