New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@quick-start/create-electron

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@quick-start/create-electron

An easy way to start an Electron project

1.0.0
Source
npm
Version published
Weekly downloads
1.1K
-6.84%
Maintainers
1
Weekly downloads
 
Created
Source

create-electron

An easy way to start an Electron project

Usage

Compatibility Note: Some templates require a higher Node.js version to work, please upgrade if your package manager warns about it.

With npm:

$ npm create @quick-start/electron

With Yarn:

$ yarn create @quick-start/electron

With pnpm:

$ pnpm create @quick-start/electron

Then follow the prompts!

You can also directly specify the project name and the template you want to use via additional command line options. For example, to scaffold an Electrn + Vue project, run:

# npm 6.x
npm create @quick-start/electron my-app --template vue

# npm 7+, extra double-dash is needed:
npm create @quick-start/electron my-app -- --template vue

# yarn
yarn create @quick-start/electron my-app --template vue

# pnpm
pnpm create @quick-start/electron my-app -- --template vue

Currently supported template presets include:

  • sample
  • sample-ts
  • vue
  • vue-ts
  • react
  • react-ts
  • svelte
  • svelte-ts

Features

  • Use ESLint + Prettier to better lint and style your code, help you to write high-quality code.
  • Use electron-vite compiler, a fast javascript builder integrated with Vite, and you don't need to care about configuration.
  • Use electron-toolkit that make you easy to develop. For example: TSconfigs extends, expose common Electron APIs to renderer process in preload scripts and effective utils for main process.
  • Use electron-builder and preset common configuration, allows you to easily pack Electron app.
  • Use electron-updater for auto-update, based on electron-builder.

Keywords

electron

FAQs

Package last updated on 01 Apr 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