AFFiNE/apps/electron/package.json
2023-03-20 02:05:02 -05:00

43 lines
1.4 KiB
JSON

{
"name": "@affine/electron",
"productName": "AFFiNE",
"private": true,
"version": "0.0.0",
"author": "affine",
"description": "AFFiNE App",
"homepage": "https://github.com/toeverything/AFFiNE",
"scripts": {
"dev": "cross-env NODE_ENV=development node scripts/dev.mjs",
"prod": "cross-env NODE_ENV=production node scripts/dev.mjs",
"before-make": "zx scripts/before-make.mjs",
"make": "electron-forge make",
"make-macos-arm64": "electron-forge make --platform=darwin --arch=arm64",
"make-macos-x64": "electron-forge make --platform=darwin --arch=x64",
"make-windows-x64": "electron-forge make --platform=win32 --arch=x64",
"postinstall": "ELECTRON_RUN_AS_NODE=1 electron scripts/update-electron-vendors.mjs"
},
"config": {
"forge": "./forge.config.js"
},
"main": "./dist/layers/main/index.js",
"devDependencies": {
"@electron-forge/cli": "^6.0.5",
"@electron-forge/core": "^6.0.5",
"@electron-forge/core-utils": "^6.0.5",
"@electron-forge/maker-deb": "^6.0.5",
"@electron-forge/maker-dmg": "^6.0.5",
"@electron-forge/maker-squirrel": "^6.0.5",
"@electron-forge/maker-zip": "^6.0.5",
"@electron-forge/shared-types": "^6.0.5",
"@electron/rebuild": "^3.2.10",
"dts-for-context-bridge": "^0.7.1",
"electron": "23.1.4",
"esbuild": "^0.17.12",
"zx": "^7.2.1"
},
"dependencies": {
"cross-env": "7.0.3",
"electron-window-state": "^5.0.3"
}
}