/basic-electron-react-typescript

My first steps with electronjs

Primary LanguageTypeScript

ElectronJS + Typescript + ReactJS

Electron + TypeScript + React

This boilerplate is using diego3g/electron-typescript-react as base. If you want something with styled-components, linting and tests with jest, just go there.

Differences between this boilerplate and the diego3g's version

  • css support added
  • svg support added
  • jest removed
  • eslint removed
  • styled-components removed

The idea of this boilerplate is to be as simple as it can using this three technologies. My thought is to give the developer maximum freedom to choose their own way to write code.

Installation

Download this boilerplate using

git clone https://github.com/caiulucas/basic-electron-react-typescript

or click on the Use this template option.

Add node_modules in your project

Using npm:

npm install

Using yarn:

yarn

Usage

Just run start script.

Using npm:

npm run start

Using yarn:

yarn start

Packaging

To generate the project package based on the OS you're running on, just run:

Using npm:

npm run package

Using yarn:

yarn package

Contributing

Any pull request or issue is welcome. If you have any idea for this boilerplate, feel free to share it.

If you want to make your own boilerplate using this project as base, just go for it 😃

License

MIT