Skip to content

A electron app template that uses React.js and has some other useful tools

License

Notifications You must be signed in to change notification settings

LindseyB/electron-react-template

Repository files navigation

Electron React Template

Based off of electron quick start and expanded to have my common stack.

What's setup here?

Quick start

git clone git@github.com:LindseyB/electron-react-template.git
cd electron-react-template
npm install
npm run dev

Scripts

npm start

Run the application

npm run dev

Starts the application with webpack in watchmode using concurrently to watch both

npm run make

Build the application for distribution

npm run build

Build the webpack (render side only)

npm run build:watch

Run building webpack (render side only) in watchmode

npm run lint

Run eslint

npm run lint:fix

Run eslint with autofix enabled

npm run format

Run prettier

npm run format:fix

Run prettier with autofix enabled