Tazeg / electron-svelte-typescript-esbuild-template

Starter kit to build cross-platform desktop apps with Electron, Svelte, TypeScript and Esbuild.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Svelte-TypeScript-Esbuild-Electron template

A starter kit to build cross-platform desktop apps with Electron, Svelte, TypeScript and Esbuild :

  • Windows (portable executable)
  • Linux (AppImage)

Install

git clone https://github.com/Tazeg/electron-svelte-typescript-esbuild-template.git
cd electron-svelte-typescript-esbuild-template/svelte
yarn install # or npm
cd ../electron
yarn install

Developpement

cd electron-typescript-svelte-esbuild-template/svelte
yarn run dev
yarn run check
yarn run lint

The Hot Module Replacement (HMR) feature will reload the browser while you are coding (thanks to electron-reloader)

Build for production

cd electron-typescript-svelte-esbuild-template/svelte
yarn run buildlinux
yarn run buildwindows

The desktop portable apps are built in the dist/ directory.

About

Starter kit to build cross-platform desktop apps with Electron, Svelte, TypeScript and Esbuild.

License:MIT License


Languages

Language:JavaScript 54.1%Language:TypeScript 25.6%Language:Svelte 13.9%Language:HTML 6.5%