프로젝트
GitHub에서 보기
saulotarsobc/electronjs-with-nextjs
소개
ElectronJS application with NextJS and TypeScript.
웹 및 앱 개발측정된 스타 증가
- in 24h
- 0
- in 7 days
- 기록 수집 중
- in 15 days
- 기록 수집 중
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalSC - Electron and Next
A template to build an ElectronJS app with NextJS
⚠️ See also electron-with-vite
Use
Requires Node.js 22.12 or newer and npm 11.
git clone https://github.com/saulotarsobc/electronjs-with-nextjs.git
cd electronjs-with-nextjs
npm ci
npm run dev
Help
Scripts
dev: Run Electron with development build.build:backend: Build backend with TypeScript.clear: Remove build and dist directories.build: Build frontend and backend.build:frontend: Build frontend with Next.js.build:backend: Build backend with TypeScript.postinstall: Rebuild native dependencies for Electron.dist: Build and make a distribution package with Electron Builder.
electron-builder Configutarion to this project
...
"build": {
"appId": "br.com.electron.next",
"productName": "SC - Electron and Next",
"files": [
"dist"
],
"directories": {
"output": "out"
},
"win": {
"target": [
"nsis"
],
"artifactName": "${name}-${version}-windows-${arch}.${ext}"
},
"mac": {
"target": "dmg",
"signIgnore": null,
"artifactName": "${productName}-Setup-${version}.${ext}"
},
"linux": {
"target": [
"AppImage",
"deb"
],
"artifactName": "${name}-${version}-linux-${arch}.${ext}"
}
}
...
Git Commands
Release
#! bash
git tag "v$1"
git push origin --tags
관련 프로젝트 살펴보기
불러오는 중…