Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bytesleo/electron-react-ant-boilerplate

Electron + Webpack 4 + Babel 7 + React 16 + PostCSS + Sass + Ant Design + Jest + Enzyme + Eslint
https://github.com/bytesleo/electron-react-ant-boilerplate

boilerplate electron electron-ant electron-ant-design electron-application electron-boilerplate electron-es6 electron-react electron-react-boilerplate electron-react-es6 electron-sass electron-structure electron-webpack electron-webpack-sample react

Last synced: 3 months ago
JSON representation

Electron + Webpack 4 + Babel 7 + React 16 + PostCSS + Sass + Ant Design + Jest + Enzyme + Eslint

Awesome Lists containing this project

README

        

# electron-react-ant-boilerplate

[![NPM version](https://badge.fury.io/js/electron-react-ant-boilerplate.svg)](https://npmjs.org/package/electron-react-ant-boilerplate) [![GitHub license](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](https://raw.githubusercontent.com/kevoj/electron-react-ant-boilerplate/master/LICENSE)

![Imgur](https://i.imgur.com/pisXBkG.png)

### Features

- Electron
- Webpack 4
- Babel 7
- React 16
- ES6
- PostCSS
- Sass (Injection by modules and in the traditional way)
- Ant Design (Global theme based on the Less Ant variables)
- Jest
- Enzyme
- Eslint
- Hot realod
- Friendly architecture
- Export for Mac, Linux, Windows

### Table of contents

* [Install](#install)
* [Usage](#usage)
* [License](#license)

### Install

#### Clone this repo

```
git clone https://github.com/kevoj/electron-react-ant-boilerplate.git
```

#### Install dependencies

```
npm install
```
or
```
yarn
```

### Usage

#### Run

```
npm start
```
or
```
yarn start
```

#### Build (manual)

```
npm run build
```
or
```
yarn build
```

#### Prod (Preview in Production)

```
npm run prod
```
or
```
yarn prod
```

#### Build package (Current OS)

```
npm run package
```
or
```
yarn package
```

#### Build package (Mac, Linux, Windows)

```
npm run package:all
```
or
```
yarn package:all
```

#### Test

```
npm test
```
or
```
yarn test
```

#### Docs

```
npm run docs
```
or
```
yarn docs
```

### License

MIT © [Leonardo Rico](https://github.com/kevoj/electron-react-ant-boilerplate/blob/master/LICENSE)