This boilerplate is for desktop application development using web frameworks and libraries including React, Electron, Parcel. The boilerplate provides quality control with Jest, Enzyme for testing, and ESLint for linting.
How to use the boilerplate
Setup new project
- Clone the project
git clone https://github.com/intocode-io/react-electron-boilerplate.git
- Change directory name and the following properties in package.json to your new project.
{
"name": "your-new-project",
"version": "1.0.0",
"description": "What about the project",
"repository": {
"type": "git",
"url": "git+https://github.com/your-username/your-project.git"
},
"keywords": ["electron", "react", "what about"],
"author": "Name Surname",
"license": "MIT",
"bugs": {
"url": "https://github.com/your-username/your-project/issues"
},
"homepage": "https://your-home-page"
}
Note: DO NOT delete the rest of properties in the package.json.
- Install dependencies
npm i
Start development
npm run dev
Build production
npm run build
Top comments (1)
Here are simple steps to follow: Convert React App To Desktop
clouwood.com/the-easiest-way-to-co...