Skip to content

bitcreative-studios/electron-react-ant-boilerplate

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