Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

electron-webpack-boilerplate

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

electron-webpack-boilerplate

Minimal Electron boilerplate built with Typescript, Webpack 5 and Babel 7

  • 1.0.5
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
7
decreased by-22.22%
Maintainers
1
Weekly downloads
 
Created
Source

electron-webpack-boilerplate

Minimal Electron Starter Kit built with Typescript, React, Webpack 5 and Babel 7

npm version latest commit Build Status Publish Status

To create a JS library, check out js-library-boilerplate-basic.

⭐️ Features

  • Electron 17
  • React 17
  • Webpack 5
  • Babel 7
  • Hot reloading (npm start)
  • Jest unit testing (+ Enzyme)

📦 Getting Started

git clone https://github.com/hodgef/electron-webpack-boilerplate.git my-app
npm install

⚠️ Note: This boilerplate uses nodeIntegration by default, which allows your renderer code to access node. Only use this boilerplate if you are running trusted code in your app. Alternatively, you can change this setting in src/main/index.ts and adjust accordingly.

💎 Customization

Before shipping, make sure to:

  1. Edit LICENSE file
  2. Edit package.json information (This will be used to package your app)
  3. (Optional) Set-up releases, code signing, notarization for your app. Additional docs on this coming soon.

🚀 Development

  • Use npm start to develop your app with Hot Reloading on changes.
  • Use npm serve:dist to serve a semi-production app from the build folder.
  • Use npm run dist to build executables for your app, according to the information in your package.json.
  • Use npm run test to run unit tests for your app.

Keywords

FAQs

Package last updated on 12 Mar 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc