{"id":17359111,"url":"https://github.com/nathanjhood/ts-esbuild-react","last_synced_at":"2026-02-12T21:31:15.379Z","repository":{"id":252440484,"uuid":"840146631","full_name":"nathanjhood/ts-esbuild-react","owner":"nathanjhood","description":"A React starter project template with esbuild-scripts.","archived":false,"fork":false,"pushed_at":"2025-07-22T04:01:00.000Z","size":1733,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-03T16:37:40.794Z","etag":null,"topics":["esbuild","eslint","react","react-esbuild","react-typescript","typescript","typescript-esbuild-react","typescript-react"],"latest_commit_sha":null,"homepage":"https://nathanjhood.github.io/ts-esbuild-react/","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-09T04:26:38.000Z","updated_at":"2025-02-12T19:58:16.000Z","dependencies_parsed_at":"2024-08-22T20:27:18.619Z","dependency_job_id":"180d9f3d-492a-493e-a376-510b3ba09712","html_url":"https://github.com/nathanjhood/ts-esbuild-react","commit_stats":{"total_commits":206,"total_committers":2,"mean_commits":103.0,"dds":"0.014563106796116498","last_synced_commit":"c2c6c4143beaf81eb6bd7c6c8768ee11bd329baf"},"previous_names":["nathanjhood/ts-esbuild-react"],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/nathanjhood/ts-esbuild-react","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nathanjhood%2Fts-esbuild-react","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nathanjhood%2Fts-esbuild-react/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nathanjhood%2Fts-esbuild-react/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nathanjhood%2Fts-esbuild-react/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nathanjhood","download_url":"https://codeload.github.com/nathanjhood/ts-esbuild-react/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nathanjhood%2Fts-esbuild-react/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29381750,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-12T20:34:40.886Z","status":"ssl_error","status_checked_at":"2026-02-12T20:23:00.490Z","response_time":55,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["esbuild","eslint","react","react-esbuild","react-typescript","typescript","typescript-esbuild-react","typescript-react"],"created_at":"2024-10-15T19:08:11.452Z","updated_at":"2026-02-12T21:31:15.353Z","avatar_url":"https://github.com/nathanjhood.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ts-esbuild-react\n\nA React starter project template, powered by esbuild's Typescript support, with hot-reloading dev server.\n\n---\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[![github-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---\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\n## About\n\nThis repository is a simple demonstration of the `create-react-app --template typescript` boilerplate code, powered by [esbuild](https://esbuild.github.io/).\n\nThe usual `react-scripts`'s Webpack implementation has been replaced with a similar set of functionality using esbuild, using ideas from the articles referenced below, along with the standard react/esbuild/typescript official docs.\n\n---\n\n### Commands\n\n```json\n{\n    \"start\": \"tsx ./scripts/start.ts\",\n    \"test\": \"tsx ./scripts/test.ts\",\n    \"build\": \"tsx ./scripts/build.ts\",\n    \"type-check\": \"tsc --noEmit\",\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\n### Motivations\n\nJust something I needed to investigate in isolation, to be used as a guideline for [other projects, elsewhere](https://github.com/nathanjhood/ts-esbuild-react-native-web).\n\nFeel free to express some interest, as this might well encourage me to put more time on this.\n\nOr, take inspiration from it for your own projects.\n\n---\n\n## Further Reading\n\n- https://www.typescriptlang.org/docs/handbook/jsx.html#basic-usage\n- https://eisenbergeffect.medium.com/an-esbuild-setup-for-typescript-3b24852479fe\n- https://gist.github.com/Med-H/5f2e2084309cb75134aa0a106c78e214\n\n---\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnathanjhood%2Fts-esbuild-react","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnathanjhood%2Fts-esbuild-react","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnathanjhood%2Fts-esbuild-react/lists"}