{"id":28445384,"url":"https://github.com/suptarr/react-rescript-template","last_synced_at":"2026-04-25T22:33:05.531Z","repository":{"id":64385386,"uuid":"575243258","full_name":"SupTarr/React-ReScript-Template","owner":"SupTarr","description":"Template of the React and ReScript","archived":false,"fork":false,"pushed_at":"2022-12-10T05:15:26.000Z","size":338,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-29T20:38:50.401Z","etag":null,"topics":["react","rescript"],"latest_commit_sha":null,"homepage":"https://react-rescript-template.suptarr.vercel.app/","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SupTarr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-12-07T04:13:57.000Z","updated_at":"2023-09-17T12:09:28.000Z","dependencies_parsed_at":"2022-12-17T19:09:56.684Z","dependency_job_id":null,"html_url":"https://github.com/SupTarr/React-ReScript-Template","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/SupTarr/React-ReScript-Template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SupTarr%2FReact-ReScript-Template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SupTarr%2FReact-ReScript-Template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SupTarr%2FReact-ReScript-Template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SupTarr%2FReact-ReScript-Template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SupTarr","download_url":"https://codeload.github.com/SupTarr/React-ReScript-Template/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SupTarr%2FReact-ReScript-Template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32279655,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-25T18:29:39.964Z","status":"ssl_error","status_checked_at":"2026-04-25T18:29:32.149Z","response_time":59,"last_error":"SSL_read: 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":["react","rescript"],"created_at":"2025-06-06T10:12:47.060Z","updated_at":"2026-04-25T22:33:05.498Z","avatar_url":"https://github.com/SupTarr.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# React ReScript Template\n\nTemplate of the **React** and **ReScript** that build with **Vite**\n\n---\n\n## Getting Started\n### Prerequisites\n\nThis is an example of how to list things you need to use the software and how to install them.\n\n- npm:\n\n```sh\nnpm install npm@latest -g\n```\n\n- Node JS:\n\u003chttps://nodejs.org/en/\u003e\n\n### Installation\n\n- Create React App with Vite:\n\n```sh\n# npm 6.x\nnpm create vite@latest my-app --template react\n\n# npm 7+, extra double-dash is needed:\nnpm create vite@latest my-app -- --template react\n\ncd my-app\nnpm install\n```\n\n- Install ReScript locally:\n\n```sh\nnpm install rescript\n```\n\n- Add following dependency to your ReScript project:\n\n```sh\nnpm install @rescript/react\n```\n\n- Then add the following setting to your existing `bsconfig.json`:\n\n```json\n{\n  \"name\": \"your-project-name\",\n  \"sources\": [\n    {\n      \"dir\": \"src\", // update this to wherever you're putting ReScript files\n      \"subdirs\": true\n    }\n  ],\n  \"package-specs\": [\n    {\n      \"module\": \"es6\",\n      \"in-source\": true\n    }\n  ],\n  \"suffix\": \".bs.js\",\n  \"reason\": { \"react-jsx\": 3 },\n  \"bs-dependencies\": [\"@rescript/react\"]\n}\n```\n* Add convenience npm scripts to `package.json`:\n```json\n\"scripts\": {\n  \"res:build\": \"rescript\",\n  \"res:start\": \"rescript build -w\"\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuptarr%2Freact-rescript-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsuptarr%2Freact-rescript-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuptarr%2Freact-rescript-template/lists"}