DEV Community

Caio Lucas
Caio Lucas

Posted on

3 2

Electron + Typescript + React boilerplate

ElectronJS + Typescript + ReactJS

Electron + TypeScript + React

You can go to the github repository clicking here;

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
Enter fullscreen mode Exit fullscreen mode

or click on the Use this template option.

Add node_modules in your project

Using npm:

npm install
Enter fullscreen mode Exit fullscreen mode

Using yarn:

yarn
Enter fullscreen mode Exit fullscreen mode

Usage

Just run start script.

Using npm:

npm run start
Enter fullscreen mode Exit fullscreen mode

Using yarn:

yarn start
Enter fullscreen mode Exit fullscreen mode

Packaging

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

Using npm:

npm run package
Enter fullscreen mode Exit fullscreen mode

Using yarn:

yarn package
Enter fullscreen mode Exit fullscreen mode

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

Image of Datadog

The Future of AI, LLMs, and Observability on Google Cloud

Datadog sat down with Google’s Director of AI to discuss the current and future states of AI, ML, and LLMs on Google Cloud. Discover 7 key insights for technical leaders, covering everything from upskilling teams to observability best practices

Learn More

Top comments (0)

Heroku

Simplify your DevOps and maximize your time.

Since 2007, Heroku has been the go-to platform for developers as it monitors uptime, performance, and infrastructure concerns, allowing you to focus on writing code.

Learn More

πŸ‘‹ Kindness is contagious

Please leave a ❀️ or a friendly comment on this post if you found it helpful!

Okay