Socket
Book a DemoInstallSign in
Socket

create-electron-react

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-electron-react

A CLI for Electron & React.js to quick start boilerplate.

latest
Source
npmnpm
Version
0.1.0
Version published
Maintainers
1
Created
Source

create-electron-react

🔆 A CLI for Electron & React.js quick start boilerplate.

NPM JavaScript Style Guide

Features

  • Easy-to-use CLI
  • Handles all modern JS features
  • Support for TypeScript
  • Basic project structure with a single package.json setup
  • Ability to easily package your electron app using electron-builder
  • Installed react-devtools and devtron tools for development
  • appveyor.yml and .travis.yml configurations for automated deployments with electron-builder
  • Ability to produce web output for browsers
  • Handy NPM scripts
  • Use of webpack and react-hot-loader with Hot Module Replacement
  • Process restarting when working in main process
  • ESLint (with support for standard and airbnb-base)*
  • Unit Testing with Jest
  • E2E Testing with Jest + spectron
  • Base on the latest version (React v16.12.0 && Electron v7.1.11)

Preview

Install globally

This package requires node >= 4, but we recommend node >= 8.

npm install -g create-electron-react

Usage with npx

npx create-electron-react

CLI Options

? Application Name
? Application Id
? Application Version
? Project Description
? Author
? Package Manager
? Template

(npx comes with npm 5.2+ and higher, see instructions for older npm versions)

Creating a Electron React App

create-electron-react

Next Features

  • with Redux
  • with Next

Thanks

License

MIT © zenghongtu

Keywords

electron

FAQs

Package last updated on 01 Feb 2020

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