Skip to content

saulotarsobc/electronjs-with-nextjs

Repository files navigation

electronjs-with-nextjs

Stars Forks
License Version Contributors Last Commit Issues Pull Requests Build Status

static badge from nodejs static badge from electronjs static badge from electron builder static badge from typescript static badge from nextjs static badge from reactjs static badge from sequelize

demo

Use

git clone /~https://github.com/saulotarsobc/electron-next-ts.git;
cd electron-next-ts;
npm install;
npm run dev;

Help

NPM Commands

  • npm run dev: Run Electron with development build.
    • npm run build:backend: Build backend with TypeScript.
    • electron . --dev: Run Electron with development build.
  • npm run prebuild: Remove build and dist directories.
  • npm run build: Build frontend and backend.
    • npm run build:frontend: Build frontend with Next.js.
    • npm run build:backend: Build backend with TypeScript.
  • npm run postinstall: Install dependencies for Electron.
  • npm run dist: Build and make a distribution package with Electron Builder.

Git Commands

Release

#! bash
git tag "v$1"
git push origin --tags