2023-03-16 17:58:21 +03:00
|
|
|
{
|
|
|
|
"name": "@affine/electron",
|
|
|
|
"productName": "AFFiNE",
|
|
|
|
"private": true,
|
|
|
|
"version": "0.0.0",
|
2023-03-18 16:43:39 +03:00
|
|
|
"author": "affine",
|
|
|
|
"description": "AFFiNE App",
|
|
|
|
"homepage": "https://github.com/toeverything/AFFiNE",
|
2023-03-28 06:30:03 +03:00
|
|
|
"workspaces": [
|
|
|
|
"../../packages/*",
|
|
|
|
"../../tests/fixtures"
|
|
|
|
],
|
2023-03-16 17:58:21 +03:00
|
|
|
"scripts": {
|
2023-03-18 16:43:39 +03:00
|
|
|
"dev": "cross-env NODE_ENV=development node scripts/dev.mjs",
|
|
|
|
"prod": "cross-env NODE_ENV=production node scripts/dev.mjs",
|
2023-04-04 15:40:07 +03:00
|
|
|
"generate-assets": "zx scripts/generate-assets.mjs",
|
2023-03-16 17:58:21 +03:00
|
|
|
"make": "electron-forge make",
|
|
|
|
"make-macos-arm64": "electron-forge make --platform=darwin --arch=arm64",
|
2023-03-18 16:43:39 +03:00
|
|
|
"make-macos-x64": "electron-forge make --platform=darwin --arch=x64",
|
|
|
|
"make-windows-x64": "electron-forge make --platform=win32 --arch=x64",
|
2023-03-27 09:59:36 +03:00
|
|
|
"build:octobase-node": "yarn workspace @affine/octobase-node build",
|
2023-03-16 17:58:21 +03:00
|
|
|
"postinstall": "ELECTRON_RUN_AS_NODE=1 electron scripts/update-electron-vendors.mjs"
|
|
|
|
},
|
|
|
|
"config": {
|
|
|
|
"forge": "./forge.config.js"
|
|
|
|
},
|
|
|
|
"main": "./dist/layers/main/index.js",
|
|
|
|
"devDependencies": {
|
2023-03-27 09:59:36 +03:00
|
|
|
"@affine/octobase-node": "workspace:*",
|
2023-04-11 01:41:07 +03:00
|
|
|
"@electron-forge/cli": "^6.1.1",
|
|
|
|
"@electron-forge/core": "^6.1.1",
|
|
|
|
"@electron-forge/core-utils": "^6.1.1",
|
|
|
|
"@electron-forge/maker-deb": "^6.1.1",
|
|
|
|
"@electron-forge/maker-dmg": "^6.1.1",
|
|
|
|
"@electron-forge/maker-squirrel": "^6.1.1",
|
|
|
|
"@electron-forge/maker-zip": "^6.1.1",
|
|
|
|
"@electron-forge/shared-types": "^6.1.1",
|
2023-03-16 17:58:21 +03:00
|
|
|
"@electron/rebuild": "^3.2.10",
|
|
|
|
"dts-for-context-bridge": "^0.7.1",
|
2023-04-04 22:41:25 +03:00
|
|
|
"electron": "24.0.0",
|
2023-04-11 01:41:07 +03:00
|
|
|
"esbuild": "^0.17.16",
|
2023-03-20 10:05:02 +03:00
|
|
|
"zx": "^7.2.1"
|
2023-03-16 17:58:21 +03:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2023-03-18 16:43:39 +03:00
|
|
|
"cross-env": "7.0.3",
|
2023-03-27 09:59:36 +03:00
|
|
|
"electron-window-state": "^5.0.3",
|
|
|
|
"fs-extra": "^11.1.1"
|
2023-03-28 06:07:36 +03:00
|
|
|
},
|
2023-03-28 06:30:03 +03:00
|
|
|
"packageManager": "yarn@3.5.0"
|
2023-03-16 17:58:21 +03:00
|
|
|
}
|