Skip to content

bytesleo/electron-react-ant-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Apr 18, 2019
5193ad8 · Apr 18, 2019

History

18 Commits
Apr 17, 2019
Apr 18, 2019
Apr 18, 2019
Apr 17, 2019
Feb 28, 2019
Apr 17, 2019
Mar 26, 2019
Mar 26, 2019
Feb 28, 2019
Apr 18, 2019
Apr 17, 2019
Apr 18, 2019
Mar 4, 2019
Apr 16, 2019
Apr 17, 2019

Repository files navigation

electron-react-ant-boilerplate

NPM version GitHub license

Imgur

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

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