Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Boilerplate for Electron + React + Typescript + Fast-Refresh + Jest.

License

NotificationsYou must be signed in to change notification settings

marceloaugusto80/electron-react-typescript-boilerplate

Slim template for desktop apps using:



Before anything

As always, install packages.Open a terminal in the project root folder and run:

$ npm install

During development

Start the app indevelopment mode (with hot reload).

Run:

$ npmstart

It will launch webpack dev server and electronconcurrently.It hasfast refresh (AKA hot-reload) enabled by default.


Start app inproduction mode (without hot reload).

Run:

$ npm run start:prod

Testing

Run:

$ npm test

This templated usesJest (along withTs-Jest) as testing framework.

Deploy

Just run:

$ npm run pack

and the output will available in the./pack folder.

Contributors4

  •  
  •  
  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp