mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-01 13:12:15 +03:00
86 lines
2.7 KiB
JSON
86 lines
2.7 KiB
JSON
{
|
|
"name": "@affine/electron",
|
|
"private": true,
|
|
"version": "0.5.4-canary.30",
|
|
"author": "affine",
|
|
"repository": {
|
|
"url": "https://github.com/toeverything/AFFiNE",
|
|
"type": "git"
|
|
},
|
|
"description": "AFFiNE App",
|
|
"homepage": "https://github.com/toeverything/AFFiNE",
|
|
"scripts": {
|
|
"dev": "yarn electron-rebuild && yarn cross-env DEV_SERVER_URL=http://localhost:8080 node scripts/dev.mjs",
|
|
"watch": "yarn electron-rebuild && yarn cross-env DEV_SERVER_URL=http://localhost:8080 node scripts/dev.mjs --watch",
|
|
"prod": "yarn electron-rebuild && yarn node scripts/dev.mjs",
|
|
"build-layers": "zx scripts/build-layers.mjs",
|
|
"generate-assets": "zx scripts/generate-assets.mjs",
|
|
"generate-main-exposed-meta": "zx scripts/generate-main-exposed-meta.mjs",
|
|
"package": "electron-forge package",
|
|
"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",
|
|
"make-linux-x64": "electron-forge make --platform=linux --arch=x64",
|
|
"rebuild:for-unit-test": "yarn rebuild better-sqlite3",
|
|
"rebuild:for-electron": "yarn electron-rebuild",
|
|
"test": "playwright test"
|
|
},
|
|
"config": {
|
|
"forge": "./forge.config.js"
|
|
},
|
|
"main": "./dist/layers/main/index.js",
|
|
"devDependencies": {
|
|
"@affine-test/kit": "workspace:*",
|
|
"@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",
|
|
"@electron/rebuild": "^3.2.13",
|
|
"@electron/remote": "2.0.9",
|
|
"@types/better-sqlite3": "^7.6.4",
|
|
"@types/fs-extra": "^11.0.1",
|
|
"cross-env": "7.0.3",
|
|
"electron": "24.2.0",
|
|
"electron-log": "^5.0.0-beta.23",
|
|
"electron-squirrel-startup": "1.0.0",
|
|
"electron-window-state": "^5.0.3",
|
|
"esbuild": "^0.17.18",
|
|
"fs-extra": "^11.1.1",
|
|
"playwright": "^1.33.0",
|
|
"ts-node": "^10.9.1",
|
|
"undici": "^5.22.0",
|
|
"zx": "^7.2.2"
|
|
},
|
|
"dependencies": {
|
|
"better-sqlite3": "^8.3.0",
|
|
"chokidar": "^3.5.3",
|
|
"electron-updater": "^5.3.0",
|
|
"nanoid": "^4.0.2",
|
|
"rxjs": "^7.8.1",
|
|
"yjs": "^13.6.1"
|
|
},
|
|
"build": {
|
|
"protocols": [
|
|
{
|
|
"name": "affine",
|
|
"schemes": [
|
|
"affine"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"stableVersion": "0.5.3",
|
|
"installConfig": {
|
|
"hoistingLimits": "workspaces"
|
|
},
|
|
"peerDependencies": {
|
|
"playwright": "*",
|
|
"ts-node": "*"
|
|
}
|
|
}
|