# electron-webpack-react
A simple boilerplate using [Electron](https://electronjs.org), [electron-webpack](https://webpack.electron.build), [React](https://reactjs.org), [Typescript](https://www.typescriptlang.org) & [Sass](https://sass-lang.com)
## Usage
### Clone this repo
#### Into the current directory
```bash
cd my-electron-app
npx degit manferlo81/electron-webpack-react
```
#### Into the specified directory
```bash
npx degit manferlo81/electron-webpack-react my-electron-app
```
### Install dependencies
Go into the project folder then run `npm i` to install dependencies.
```bash
npm i
```
### Start development
```bash
npm run dev
```
### Build application
```bash
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](LICENSE) © 2019 [Manuel Fernández](https://github.com/manferlo81)