{"id":13544788,"url":"https://github.com/pbarbiero/basic-electron-react-boilerplate","last_synced_at":"2025-10-02T08:31:18.417Z","repository":{"id":17843251,"uuid":"82832381","full_name":"pbarbiero/basic-electron-react-boilerplate","owner":"pbarbiero","description":"Minimal and modern react+electron+webpack boilerplate","archived":true,"fork":false,"pushed_at":"2022-07-20T18:13:52.000Z","size":590,"stargazers_count":242,"open_issues_count":37,"forks_count":88,"subscribers_count":7,"default_branch":"develop","last_synced_at":"2024-04-14T04:40:30.069Z","etag":null,"topics":["electron","javascript","nodejs","react","webpack2"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/pbarbiero.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}},"created_at":"2017-02-22T17:20:42.000Z","updated_at":"2024-03-17T21:27:54.000Z","dependencies_parsed_at":"2022-08-07T09:00:20.617Z","dependency_job_id":null,"html_url":"https://github.com/pbarbiero/basic-electron-react-boilerplate","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pbarbiero%2Fbasic-electron-react-boilerplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pbarbiero%2Fbasic-electron-react-boilerplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pbarbiero%2Fbasic-electron-react-boilerplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pbarbiero%2Fbasic-electron-react-boilerplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pbarbiero","download_url":"https://codeload.github.com/pbarbiero/basic-electron-react-boilerplate/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234957816,"owners_count":18913352,"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":["electron","javascript","nodejs","react","webpack2"],"created_at":"2024-08-01T11:00:53.404Z","updated_at":"2025-10-02T08:31:13.057Z","avatar_url":"https://github.com/pbarbiero.png","language":"JavaScript","readme":"# Modern and Minimal Electron + React Starter Kit\n_Electron, React, Webpack -- Modern and up-to-date, with a handful of quality of life features included_\n\nI made this starter kit as most boilerplates were either out-of-date, heavy handed, or enforced a structure on me that I just didnt like.\nWith a very select assortment of modules, this starter kit is designed to get you up and running very quickly, and to let you easily drop in your own structure and tools on top of it.\nThe basic structure of `src/` is intentionally minimal to make it easier to allow you to put your own twist on how you like things laid out.\n\nProduction builds babel-minify is used, and ES2015/ES6 transpilation is provided -- As modern node and chromium versions support 99%+ of the ES6 feature set, I feel those steps are unnecessary.\n\nIf you like this project, check out [enhanced-electron-react-boilerplate](https://github.com/pbarbiero/enhanced-electron-react-boilerplate) which is this project with my take on additional modules (photon, redux, less, css modules etc) and my personal project structure (based on the redux ducks proposal) I suggest you give it a look if you want less of a minimalistic take on my starter kit.\n\n### To get started:\n* Run `npm install`\n\n##### Development\n* Run `npm run dev` to start webpack-dev-server. Electron will launch automatically after compilation.\n\n##### Production\n_You have two options, an automatic build or two manual steps_\n\n###### One Shot\n* Run `npm run package` to have webpack compile your application into `dist/bundle.js` and `dist/index.html`, and then an electron-packager run will be triggered for the current platform/arch, outputting to `builds/`\n\n###### Manual\n_Recommendation: Update the \"postpackage\" script call in package.json to specify parameters as you choose and use the `npm run package` command instead of running these steps manually_\n* Run `npm run build` to have webpack compile and output your bundle to `dist/bundle.js`\n* Then you can call electron-packager directly with any commands you choose\n\nIf you want to test the production build (In case you think Babili might be breaking something) after running `npm run build` you can then call `npm run prod`. This will cause electron to load off of the `dist/` build instead of looking for the webpack-dev-server instance. Electron will launch automatically after compilation.\n","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpbarbiero%2Fbasic-electron-react-boilerplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpbarbiero%2Fbasic-electron-react-boilerplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpbarbiero%2Fbasic-electron-react-boilerplate/lists"}