manferlo81 / electron-webpack-react

A simple boilerplate using electron, electron-webpack, react, typescript & Sass

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

electron-webpack-react

A simple boilerplate using Electron, electron-webpack, React, Typescript & Sass

Usage

Clone this repo

Into the current directory

cd my-electron-app
npx degit manferlo81/electron-webpack-react

Into the specified directory

npx degit manferlo81/electron-webpack-react my-electron-app

Install dependencies

Go into the project folder then run npm i to install dependencies.

npm i

Start development

npm run dev

Build application

npm run build

Scripts

The following scripts can be run using npm run [script]

dev

Starts the application in development mode, any changes made to the source files will be reflected immediately.

compile

Compiles the source files.

build:dir

Builds the application in a directory.

build

Builds the application installer as a single file.

License

MIT © 2019 Manuel Fernández

About

A simple boilerplate using electron, electron-webpack, react, typescript & Sass

License:MIT License


Languages

Language:TypeScript 76.2%Language:HTML 12.1%Language:SCSS 11.6%