Socket
Socket
Sign inDemoInstall

create-electron-react-app

Package Overview
Dependencies
6
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    create-electron-react-app

An opinionated command-line utility for creating an electron app using react


Version published
Maintainers
1
Created

Readme

Source

create-electron-react-app

An opinionated command-line utility for creating an electron app using react

Usage

Option 1 -- Global installation

Install the CLI tool: npm i -g create-electron-react-app

Run the tool: create-electron-react-app

Option 2 -- Using npx (Requires NPM 5+)

Install and run the tool: npx create-electron-react-app

Features

Tooling

Generated applications will come with a configuration ready to be used with:

  • react
  • redux
  • typescript
  • sass/scss
  • jest
  • storybook

Prompts

You will be prompted for a few pieces of information:

app name (Required)

  • This is stored in the generated package.json as the "appName" property. It can be changed there at any time.
  • In MacOS builds, it is the name of the .app package, the name of the app as it appears in the menu bar and Activity Monitor, and by default the title of the main window.
  • In windows builds, it is the name of the .exe file, the name that appears in Task Manager, and by default the title of the main window.

directory name (Required)

  • This is the name of the directory created that the app will be generated inside of.
  • This can only consist of lowercase letters, numbers, dashes, and underscores.
  • It is also used as the "name" property in the generated package.json

app identifier (Required)

  • This is stored in the generated package.json as the "identifier" property. It can be changed there at any time.
  • In MacOS builds, this is used as the unique identifier for the package.
  • In windows builds, this serves no purpose.

description (Optional)

  • This is used as the "description" property in the generated package.json

git repository (Optional)

  • This is used in the "repository", "bugs", and "homepage" properties of the generated package.json

author (Optional)

  • This is used in the "author" property of the generated package.json

lisence (Optional)

  • This is used in the "lisence" property of the generated package.json

Keywords

FAQs

Last updated on 24 Dec 2017

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc