2023-03-16 17:58:21 +03:00
|
|
|
{
|
|
|
|
"name": "@affine/electron",
|
|
|
|
"private": true,
|
2023-05-12 09:30:54 +03:00
|
|
|
"version": "0.6.0-canary.1",
|
2023-03-18 16:43:39 +03:00
|
|
|
"author": "affine",
|
2023-05-08 21:21:15 +03:00
|
|
|
"repository": {
|
|
|
|
"url": "https://github.com/toeverything/AFFiNE",
|
|
|
|
"type": "git"
|
|
|
|
},
|
2023-03-18 16:43:39 +03:00
|
|
|
"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",
|
2023-05-09 10:30:01 +03:00
|
|
|
"watch": "yarn electron-rebuild && yarn cross-env DEV_SERVER_URL=http://localhost:8080 node scripts/dev.mjs --watch",
|
2023-04-24 20:53:21 +03:00
|
|
|
"prod": "yarn electron-rebuild && yarn node scripts/dev.mjs",
|
2023-05-09 10:30:01 +03:00
|
|
|
"build-layers": "zx scripts/build-layers.mjs",
|
2023-04-04 15:40:07 +03:00
|
|
|
"generate-assets": "zx scripts/generate-assets.mjs",
|
2023-05-09 10:30:01 +03:00
|
|
|
"generate-main-exposed-meta": "zx scripts/generate-main-exposed-meta.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-05-09 10:30:01 +03:00
|
|
|
"rebuild:for-unit-test": "yarn rebuild better-sqlite3",
|
2023-04-25 02:53:36 +03:00
|
|
|
"rebuild:for-electron": "yarn electron-rebuild",
|
|
|
|
"test": "playwright test"
|
2023-03-16 17:58:21 +03:00
|
|
|
},
|
|
|
|
"config": {
|
|
|
|
"forge": "./forge.config.js"
|
|
|
|
},
|
|
|
|
"main": "./dist/layers/main/index.js",
|
|
|
|
"devDependencies": {
|
2023-04-25 06:12:48 +03:00
|
|
|
"@affine-test/kit": "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-04-25 03:46:46 +03:00
|
|
|
"@electron/rebuild": "^3.2.13",
|
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-05-11 05:43:14 +03:00
|
|
|
"electron": "24.3.0",
|
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-28 01:59:54 +03:00
|
|
|
"playwright": "^1.33.0",
|
2023-04-25 02:53:36 +03:00
|
|
|
"ts-node": "^10.9.1",
|
2023-05-12 21:47:14 +03:00
|
|
|
"undici": "^5.22.1",
|
2023-05-03 00:50:58 +03:00
|
|
|
"zx": "^7.2.2"
|
2023-03-16 17:58:21 +03:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2023-04-21 18:30:49 +03:00
|
|
|
"better-sqlite3": "^8.3.0",
|
2023-05-09 10:30:01 +03:00
|
|
|
"chokidar": "^3.5.3",
|
2023-05-08 21:21:15 +03:00
|
|
|
"electron-updater": "^5.3.0",
|
2023-05-09 10:30:01 +03:00
|
|
|
"nanoid": "^4.0.2",
|
|
|
|
"rxjs": "^7.8.1",
|
2023-05-05 02:49:08 +03:00
|
|
|
"yjs": "^13.6.1"
|
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-04-25 02:53:36 +03:00
|
|
|
},
|
|
|
|
"peerDependencies": {
|
|
|
|
"playwright": "*",
|
|
|
|
"ts-node": "*"
|
2023-04-21 13:06:54 +03:00
|
|
|
}
|
2023-03-16 17:58:21 +03:00
|
|
|
}
|