{"id":15043767,"url":"https://github.com/nathanjhood/ts-esbuild-react-native-web","last_synced_at":"2026-02-23T20:32:50.217Z","repository":{"id":252830205,"uuid":"841589868","full_name":"nathanjhood/ts-esbuild-react-native-web","owner":"nathanjhood","description":"Use React Native components in your web application.","archived":false,"fork":false,"pushed_at":"2025-01-27T03:51:36.000Z","size":2035,"stargazers_count":0,"open_issues_count":6,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-01T18:30:45.926Z","etag":null,"topics":["esbuild","eslint","react","react-native","react-native-web","typescript"],"latest_commit_sha":null,"homepage":"https://nathanjhood.github.io/ts-esbuild-react-native-web/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nathanjhood.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":"2024-08-12T17:55:31.000Z","updated_at":"2024-10-28T22:58:35.000Z","dependencies_parsed_at":"2025-02-01T18:41:05.734Z","dependency_job_id":null,"html_url":"https://github.com/nathanjhood/ts-esbuild-react-native-web","commit_stats":null,"previous_names":["nathanjhood/ts-esbuild-react-native-web"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nathanjhood%2Fts-esbuild-react-native-web","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nathanjhood%2Fts-esbuild-react-native-web/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nathanjhood%2Fts-esbuild-react-native-web/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nathanjhood%2Fts-esbuild-react-native-web/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nathanjhood","download_url":"https://codeload.github.com/nathanjhood/ts-esbuild-react-native-web/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245858884,"owners_count":20684062,"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":["esbuild","eslint","react","react-native","react-native-web","typescript"],"created_at":"2024-09-24T20:49:34.167Z","updated_at":"2025-10-30T15:50:53.273Z","avatar_url":"https://github.com/nathanjhood.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ts-esbuild-react-native-web\n\nA template project for modern web front-end applications using React Native Web.\n\n[![Node](https://github.com/nathanjhood/ts-esbuild-react/actions/workflows/node.yml/badge.svg)](https://github.com/nathanjhood/ts-esbuild-react/actions/workflows/node.yml)\n\n[![Build and Deploy static content to Pages](https://github.com/nathanjhood/ts-esbuild-react/actions/workflows/static.yml/badge.svg)](https://github.com/nathanjhood/ts-esbuild-react/actions/workflows/static.yml)\n\n## Contents\n\n- [Quickstart](#quickstart)\n  - [Develop](#develop)\n  - [Test](#test)\n  - [Deploy](#deploy)\n- [About](#about)\n  - [Commands](#commands)\n  - [Motivations](#motivations)\n- [Further Reading](#further-reading)\n\n---\n\n## Quickstart\n\n### Develop\n\nInstall required dependencies (React, esbuild, typescript, etc...)\n\n```sh\nyarn\n```\n\nStart esbuild's local development server with hot-reloading and typescript support:\n\n```sh\nyarn start\n```\n\nOpen [http://localhost:3000](http://localhost:3000) in your browser.\n\nEdit `src/App.tsx` - the page in the browser will refresh when you save any changes to your source files in your IDE.\n\n---\n\n### Test\n\n```sh\nyarn test\n```\n\n---\n\n### Deploy\n\nTo create a built application for deployment:\n\n```sh\nyarn build\n```\n\nOptionally, preview the built application before deploying:\n\n```sh\nyarn serve -s build\n```\n\n\n## About\n\nUse React Native components in your web application.\n\nA [React-Native-Web](https://necolas.github.io/react-native-web/) - *for* web - starter project template, powered by [esbuild-scripts](https://github.com/nathanjhood/esbuild-scripts) with Typescript support and a hot-reloading dev server.\n\nThis template repository is a port of the official React `create-react-app --template typescript` boilerplate code; the `App.tsx` and `index.tsx` templates replaced with equivalent React-Native-Web ones, all powered by [esbuild](https://esbuild.github.io/) with Typescript.\n\nThis template ships with `@nathanjhood/esbuild-scripts`; In which, the usual `react-scripts`'s Webpack-powered implementation has been replaced with a similar set of functionality using esbuild.*\n\n---\n\n### Commands\n\n```json\n\"scripts\": {\n  \"start\": \"esbuild-scripts start\",\n  \"build\": \"esbuild-scripts build\",\n  \"test\": \"echo \\\"tests not implmented yet\\\"\",\n  \"type-check\": \"tsc --noEmit\",\n  \"gen:css\": \"tailwindcss --config tailwind.config.js --postcss postcss.config.js --output src/styles.css\",\n  \"gen:certs\": \"openssl req -x509 -newkey rsa:4096 -keyout app.key -out app.cert -days 9999 -nodes -subj /CN=127.0.0.1\",\n  \"lint\": \"eslint .\",\n  \"lint:fix\": \"eslint . --fix\",\n  \"format\": \"prettier --check ./**/*.{js,jsx,ts,tsx,css,md,json} --config ./prettier.config.mjs\",\n  \"format:fix\": \"prettier --write ./**/*.{js,jsx,ts,tsx,css,md,json} --config ./prettier.config.mjs\"\n}\n```\n\n---\n## Further Reading\n\n- [https://necolas.github.io/react-native-web/](https://necolas.github.io/react-native-web/)\n- [https://blog.logrocket.com/complete-guide-react-native-web/](https://blog.logrocket.com/complete-guide-react-native-web/)\n- [https://www.typescriptlang.org/docs/handbook/jsx.html#basic-usage](https://www.typescriptlang.org/docs/handbook/jsx.html#basic-usage)\n- [https://eisenbergeffect.medium.com/an-esbuild-setup-for-typescript-3b24852479fe](https://eisenbergeffect.medium.com/an-esbuild-setup-for-typescript-3b24852479fe)\n- [https://gist.github.com/Med-H/5f2e2084309cb75134aa0a106c78e214](https://gist.github.com/Med-H/5f2e2084309cb75134aa0a106c78e214)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnathanjhood%2Fts-esbuild-react-native-web","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnathanjhood%2Fts-esbuild-react-native-web","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnathanjhood%2Fts-esbuild-react-native-web/lists"}