{"id":18350628,"url":"https://github.com/soelinn/react-ts-starter","last_synced_at":"2025-04-09T23:54:48.721Z","repository":{"id":19272060,"uuid":"86658391","full_name":"soelinn/react-ts-starter","owner":"soelinn","description":null,"archived":false,"fork":false,"pushed_at":"2023-01-03T15:25:20.000Z","size":1766,"stargazers_count":0,"open_issues_count":18,"forks_count":0,"subscribers_count":1,"default_branch":"develop","last_synced_at":"2025-04-09T23:54:25.964Z","etag":null,"topics":["react-typescript-boilerplate","starter-template","webpack-config"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/soelinn.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":"2017-03-30T04:19:41.000Z","updated_at":"2019-07-11T03:41:46.000Z","dependencies_parsed_at":"2023-01-11T20:24:23.914Z","dependency_job_id":null,"html_url":"https://github.com/soelinn/react-ts-starter","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/soelinn%2Freact-ts-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soelinn%2Freact-ts-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soelinn%2Freact-ts-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soelinn%2Freact-ts-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/soelinn","download_url":"https://codeload.github.com/soelinn/react-ts-starter/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248131452,"owners_count":21052819,"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-typescript-boilerplate","starter-template","webpack-config"],"created_at":"2024-11-05T21:27:46.928Z","updated_at":"2025-04-09T23:54:48.701Z","avatar_url":"https://github.com/soelinn.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Description\nStarter project template for React app with TypeScript.\n\n### Separate Config Files\n\nRefer to https://webpack.js.org/guides/production/#setup.\nThere are three `webpack.*.js` files in the project setup.\n* `webpack.config.js` - shared config\n* `webpack.dev.js` - development config\n* `webpack.prod.js` - production config\n\nInstead of running the webpack with the `--mode` for different build config, using multiple webpack config files gives the most flexibility. `webpack-merge` plugin is used to combine the configurations at build time.\n\n\n### webpack-dev-server\n\n`webpack-dev-server` hosts the React component root during development.  \n\n`index.html` template file is registered with `HtmlWebpackPlugin` plugin, which hands off its output to the `webpack-dev-server` at runtime.\n\n-----\n\n## Install\n\nExecute this to get everything ready.\n\n```\nnpm install\n```\n\n## Run\n\nThis command runs the `webpack-dev-server` to dynamically host the `webpack`'s output.\n\n```\nnpm run start:dev\n```\n\n## Build\n\n```\n# This will compile the project in development mode WITHOUT optimizations.\nnpm run build\n```\n\n\n```\n# This will compile the project in development mode WITH optimizations.\nnpm run build:prod\n```\n\n#### Reference\n\n* https://webpack.js.org/concepts/mode/#mode-production\n* https://webpack.js.org/guides/production/#minification\n\n## Clean\n\n```\nnpm run clean\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoelinn%2Freact-ts-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsoelinn%2Freact-ts-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoelinn%2Freact-ts-starter/lists"}