2023-03-16 17:58:21 +03:00
|
|
|
{
|
|
|
|
"name": "@affine/electron",
|
|
|
|
"private": true,
|
2023-04-24 05:41:43 +03:00
|
|
|
"version": "0.5.4-canary.8",
|
2023-03-18 16:43:39 +03:00
|
|
|
"author": "affine",
|
|
|
|
"description": "AFFiNE App",
|
|
|
|
"homepage": "https://github.com/toeverything/AFFiNE",
|
2023-03-16 17:58:21 +03:00
|
|
|
"scripts": {
|
2023-04-24 20:53:21 +03:00
|
|
|
"dev": "yarn electron-rebuild && yarn cross-env DEV_SERVER_URL=http://localhost:8080 node scripts/dev.mjs",
|
|
|
|
"prod": "yarn electron-rebuild && yarn node scripts/dev.mjs",
|
2023-04-04 15:40:07 +03:00
|
|
|
"generate-assets": "zx scripts/generate-assets.mjs",
|
2023-04-17 19:32:10 +03:00
|
|
|
"package": "electron-forge package",
|
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-04-21 18:30:49 +03:00
|
|
|
"make-linux-x64": "electron-forge make --platform=linux --arch=x64",
|
2023-04-24 20:53:21 +03:00
|
|
|
"rebuild:for-test": "yarn rebuild better-sqlite3",
|
|
|
|
"rebuild:for-electron": "yarn electron-rebuild"
|
2023-03-16 17:58:21 +03:00
|
|
|
},
|
|
|
|
"config": {
|
|
|
|
"forge": "./forge.config.js"
|
|
|
|
},
|
|
|
|
"main": "./dist/layers/main/index.js",
|
|
|
|
"devDependencies": {
|
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-04-17 04:36:59 +03:00
|
|
|
"@electron/rebuild": "^3.2.12",
|
2023-04-11 21:42:36 +03:00
|
|
|
"@electron/remote": "2.0.9",
|
2023-04-21 18:30:49 +03:00
|
|
|
"@types/better-sqlite3": "^7.6.4",
|
2023-04-21 13:06:54 +03:00
|
|
|
"@types/fs-extra": "^11.0.1",
|
|
|
|
"cross-env": "7.0.3",
|
2023-04-17 04:36:59 +03:00
|
|
|
"electron": "24.1.2",
|
2023-04-23 09:42:27 +03:00
|
|
|
"electron-log": "^5.0.0-beta.23",
|
2023-04-17 03:28:29 +03:00
|
|
|
"electron-squirrel-startup": "1.0.0",
|
2023-04-21 18:30:49 +03:00
|
|
|
"electron-window-state": "^5.0.3",
|
2023-04-23 09:42:27 +03:00
|
|
|
"esbuild": "^0.17.18",
|
2023-04-21 18:30:49 +03:00
|
|
|
"fs-extra": "^11.1.1",
|
2023-04-23 09:42:27 +03:00
|
|
|
"undici": "^5.22.0",
|
2023-03-20 10:05:02 +03:00
|
|
|
"zx": "^7.2.1"
|
2023-03-16 17:58:21 +03:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2023-04-21 18:30:49 +03:00
|
|
|
"better-sqlite3": "^8.3.0",
|
2023-04-23 09:42:27 +03:00
|
|
|
"yjs": "^13.6.0"
|
2023-04-11 21:42:36 +03:00
|
|
|
},
|
|
|
|
"build": {
|
|
|
|
"protocols": [
|
|
|
|
{
|
|
|
|
"name": "affine",
|
|
|
|
"schemes": [
|
|
|
|
"affine"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
2023-03-28 06:07:36 +03:00
|
|
|
},
|
2023-04-21 13:06:54 +03:00
|
|
|
"stableVersion": "0.5.3",
|
|
|
|
"installConfig": {
|
|
|
|
"hoistingLimits": "workspaces"
|
|
|
|
}
|
2023-03-16 17:58:21 +03:00
|
|
|
}
|