Add production web server

This commit is contained in:
AkiraFukushima 2024-03-07 22:19:00 +09:00
parent 29d7b001ec
commit 788decc7f7
No known key found for this signature in database
GPG Key ID: B6E51BAC4DE1A957
1 changed files with 4 additions and 2 deletions

View File

@ -7,14 +7,16 @@
"main": "app/background.js", "main": "app/background.js",
"scripts": { "scripts": {
"dev": "nextron", "dev": "nextron",
"dev:web": "npx next dev renderer", "dev:web": "next dev renderer",
"build": "nextron build", "build": "nextron build",
"build:web": "cd renderer && next build",
"build:mas": "nextron build --config ./electron-builder.mas.yml", "build:mas": "nextron build --config ./electron-builder.mas.yml",
"build:appx2": "nextron build --win --x64 && electron-windows-store --assets ./resources/icons --input-directory ./dist/win-unpacked --output-directory ./dist/appx --package-name Whalebird --package-display-name Whalebird --package-version 6.0.3.0 --publisher-display-name h3poteto --identity-name 45610h3poteto.Whalebird", "build:appx2": "nextron build --win --x64 && electron-windows-store --assets ./resources/icons --input-directory ./dist/win-unpacked --output-directory ./dist/appx --package-name Whalebird --package-display-name Whalebird --package-version 6.0.3.0 --publisher-display-name h3poteto --identity-name 45610h3poteto.Whalebird",
"postinstall": "electron-builder install-app-deps", "postinstall": "electron-builder install-app-deps",
"typecheck": "tsc -p renderer --noEmit && tsc -p main --noEmit", "typecheck": "tsc -p renderer --noEmit && tsc -p main --noEmit",
"lint": "eslint renderer --ext ts,tsx", "lint": "eslint renderer --ext ts,tsx",
"thirdparty": "license-checker --production --json > renderer/thirdparty.json" "thirdparty": "license-checker --production --json > renderer/thirdparty.json",
"start:web": "cd renderer && next start"
}, },
"dependencies": { "dependencies": {
"@emoji-mart/react": "^1.1.1", "@emoji-mart/react": "^1.1.1",