{"id":20862834,"url":"https://github.com/quickheaven/react-app-template","last_synced_at":"2025-03-12T14:42:01.830Z","repository":{"id":47288895,"uuid":"231627689","full_name":"quickheaven/react-app-template","owner":"quickheaven","description":null,"archived":false,"fork":false,"pushed_at":"2025-02-26T01:12:20.000Z","size":1464,"stargazers_count":0,"open_issues_count":5,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-26T01:33:43.667Z","etag":null,"topics":["javascript","live-server","parcel","parcel-bundler","react","reactdom","reactjs","webdevelopment"],"latest_commit_sha":null,"homepage":null,"language":"CSS","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/quickheaven.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":"2020-01-03T16:46:39.000Z","updated_at":"2025-02-26T01:02:53.000Z","dependencies_parsed_at":"2025-02-04T02:20:43.096Z","dependency_job_id":"3c9ba954-e28d-41b2-94d5-2a68eb12cdce","html_url":"https://github.com/quickheaven/react-app-template","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quickheaven%2Freact-app-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quickheaven%2Freact-app-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quickheaven%2Freact-app-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quickheaven%2Freact-app-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/quickheaven","download_url":"https://codeload.github.com/quickheaven/react-app-template/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243236301,"owners_count":20258822,"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":["javascript","live-server","parcel","parcel-bundler","react","reactdom","reactjs","webdevelopment"],"created_at":"2024-11-18T05:26:06.131Z","updated_at":"2025-03-12T14:42:01.824Z","avatar_url":"https://github.com/quickheaven.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ReactJS App Template\n\n## Deploying a subfolder to GitHub Pages\n### Step 1\nRemove the dist directory from the project's .gitignore file.\n\n### Step 2\nMake sure git knows about your subtree (the subfolder with your site).\n```\ngit add dist \u0026\u0026 git commit -m \"Initial dist subtree commit\"\n```\n\n### Step 3\nUse subtree push to send it to the gh-pages branch on GitHub.\n\n```\ngit subtree push --prefix dist origin gh-pages\n```\n\n## package.json - Scripts\n\n```\n{\n  \"homepage\": \"https://quickheaven.github.io/react-app-template\",\n  \"name\": \"react\",\n  \"version\": \"1.0.0\",\n  \"scripts\": {\n    \"start\": \"parcel ./src/index.html\",\n    \"prebuild-dev\": \"shx rm -rf dist/*\",\n    \"build-dev\": \"parcel ./src/index.html --no-optimize --public-url ./\",\n    \"prebuild\": \"shx rm -rf dist/*\",\n    \"build\": \"parcel ./src/index.html --public-url ./\",\n    \"push-gh-pages\": \"push-dir --dir=dist --branch=gh-pages --cleanup --verbose\"\n  },\n  \"keywords\": [],\n  \"author\": \"\",\n  \"license\": \"ISC\",\n  \"type\": \"commonjs\",\n  \"description\": \"\",\n  \"dependencies\": {\n    \"live-server\": \"^1.2.2\",\n    \"parcel\": \"^2.7.0\",\n    \"react\": \"^18.2.0\",\n    \"react-dom\": \"^18.2.0\"\n  },\n  \"devDependencies\": {\n    \"@babel/core\": \"^7.26.9\",\n    \"@babel/plugin-proposal-class-properties\": \"^7.18.6\",\n    \"gh-pages\": \"^6.3.0\",\n    \"process\": \"^0.11.10\",\n    \"push-dir\": \"^0.4.1\",\n    \"shx\": \"^0.3.3\"\n  }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquickheaven%2Freact-app-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fquickheaven%2Freact-app-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquickheaven%2Freact-app-template/lists"}