Merge pull request #4873 from h3poteto/feat/web

Add web dev server
This commit is contained in:
AkiraFukushima 2024-03-07 23:53:15 +09:00 committed by GitHub
commit c416b7078c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 4 deletions

View File

@ -7,13 +7,16 @@
"main": "app/background.js",
"scripts": {
"dev": "nextron",
"dev:web": "next dev renderer",
"build": "nextron build",
"build:web": "cd renderer && next build",
"build:mas": "nextron build --config ./electron-builder.mas.yml",
"package: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",
"typecheck": "tsc -p renderer --noEmit && tsc -p main --noEmit",
"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": {
"@emoji-mart/react": "^1.1.1",

View File

@ -8844,11 +8844,11 @@ __metadata:
"typescript@patch:typescript@^5.2.2#~builtin<compat/typescript>, typescript@patch:typescript@^5.3.3#~builtin<compat/typescript>":
version: 5.4.2
resolution: "typescript@patch:typescript@npm%3A5.4.2#~builtin<compat/typescript>::version=5.4.2&hash=d69c25"
resolution: "typescript@patch:typescript@npm%3A5.4.2#~builtin<compat/typescript>::version=5.4.2&hash=5adc0c"
bin:
tsc: bin/tsc
tsserver: bin/tsserver
checksum: c1b669146bca5529873aae60870e243fa8140c85f57ca32c42f898f586d73ce4a6b4f6bb02ae312729e214d7f5859a0c70da3e527a116fdf5ad00c9fc733ecc6
checksum: 797ac213c03a19749181c745647b4cab03d13bf4b6b738b05a3426f46c6b540f908989e839d9b0c89d7a4ee2bdb50493b4d4898d4ef1c897c3e9d0b082e78a67
languageName: node
linkType: hard