Skip to content

A boilerplate for creating electron application bootstrapped with React.

Notifications You must be signed in to change notification settings

whateverxforever/Electron-React-Storybook-Boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Electron-React-Storybook-Boilerplate 🛠

A boilerplate for creating Electron application bootstrapped with React + Storybook. Boilerplate is also configured with pre-commit hooks like linting etc. (which you can modify in package.json) and is ready to build and ship your apps.

Available Scripts

In the project directory, you can run:

yarn electron-dev

Runs the app in the development mode on http://localhost:3000. The electron app will automatically pop open.

The page will reload if you make edits. You will also see any lint errors in the console.

yarn storybook

Start the component explorer on http://localhost:9009. You can view your storybook components.

yarn build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.

yarn dist

Creates a distribution version of the build app and stores it in dist folder.
It uses default yarn distribution i.e creates a executable with all the assets, which user can install.
Windows + Linux Support, couldn't test Mac builds, let me know if it works 😋

About

A boilerplate for creating electron application bootstrapped with React.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published