samfilip / svelte-electron-ts-starter

This is a boiler plate starter pack when starting an electron project which uses svelte with typescript ⚡

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

svelte-electron-ts-starter

This is a boiler plate starter pack when starting an electron project which uses svelte with typescript

Why this starter pack :

  • Packed with latest svelte and rollup plugin configurations 🎒
  • Fast Auto reload of electron app when source files change.⚡
  • Typescript support for both main electron process and renderer processes 🥳🥳
  • Provides the required npm scripts and folder structure for simple to complex projects.
  • Hassle free package process 📦 to package your cool app for mac , linux and windows

Developing

Clone the repo, and install dependencies with npm install. Then npm run dev to build the app and npm start to open it.

Building

npm run build creates a production version of the app, which can then be run with npm start. Instructions on creating a standalone executable to follow.

Packaging

  • Run npm run package-linux to build the linux installer
  • Run npm run package-win to build for windows
  • Run npm run package-all to build for mac , linux and windows



Other Works

About

This is a boiler plate starter pack when starting an electron project which uses svelte with typescript ⚡

License:MIT License


Languages

Language:TypeScript 53.3%Language:JavaScript 19.6%Language:CSS 11.7%Language:HTML 9.3%Language:Svelte 6.2%