项目
在 GitHub 查看
saulotarsobc/electronjs-with-nextjs
关于
ElectronJS application with NextJS and TypeScript.
网站与应用开发实测星标增长
- 24小时
- 0
- 7天
- 正在收集历史
- 15天
- 正在收集历史
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文SC - 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
探索相关项目
加载中…