Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/bytesleo/electron-react-ant-boilerplate
- Owner: bytesleo
- License: mit
- Created: 2019-02-28T19:55:20.000Z (almost 6 years ago)
- Default Branch: develop
- Last Pushed: 2019-04-18T01:22:11.000Z (almost 6 years ago)
- Last Synced: 2024-10-14T22:02:49.171Z (3 months ago)
- Topics: 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
- Language: JavaScript
- Homepage:
- Size: 317 KB
- Stars: 27
- Watchers: 4
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)