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

marceloaugusto80/electron-react-typescript-boilerplate

Repository files navigation

Electron / React / Typescript boilerplate project

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 in development mode (with hot reload).

Run:

$ npm start

It will launch webpack dev server and electron concurrently. It has fast refresh (AKA hot-reload) enabled by default.


Start app in production mode (without hot reload).

Run:

$ npm run start:prod

Testing

Run:

$ npm test

This templated uses Jest (along with Ts-Jest) as testing framework.

Deploy

Just run:

$ npm run pack

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

AltStyle によって変換されたページ (->オリジナル) /