Skip to content

A starter project to demonstrate how to build an Electron app. with typescript, next, react and material-ui.

License

Notifications You must be signed in to change notification settings

jacobbubu/electron-ts-next

Repository files navigation

electron-ts-next

A starter project to demonstrate how to build an Electron app. with typescript, next, react and material-ui.

Quick Start

git clone https://github.com/jacobbubu/electron-ts-next
npm install
npm run dev

The application will be run in development mode that supports hot module replacement.

Build for distribution

npm run dist

If you want to debug in distribution build, run the command as following:

npm run run:dist

Commit and release management

I'm trying to follow the rules defined by Semantic-release. For the implementation detail, please refer to TypeScript library starter.

I've not done yet completely because of the lack of the code coverage for UI components.

For now, I've made some changes in packages.json to bypass the code coverage check in unit test process. If you'd like to enable it, please change following statements in package.json:

  ...
  "scripts": {
    "test:prod": "npm run lint && npm run test -- --coverage --no-cache",
  }
  ...
  "jest": {
    "collectCoverage": true
  }

Thanks to

TypeScript library starter

Electron + Next.js

About

A starter project to demonstrate how to build an Electron app. with typescript, next, react and material-ui.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published