mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-12 06:43:24 +03:00
85 lines
2.4 KiB
JSON
85 lines
2.4 KiB
JSON
{
|
|
"name": "@affine/electron",
|
|
"private": true,
|
|
"version": "0.7.0-canary.8",
|
|
"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",
|
|
"package": "electron-forge package",
|
|
"make": "electron-forge make",
|
|
"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:*",
|
|
"@affine/native": "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",
|
|
"@types/uuid": "^9.0.1",
|
|
"cross-env": "7.0.3",
|
|
"electron": "25.0.0",
|
|
"electron-log": "^5.0.0-beta.24",
|
|
"electron-squirrel-startup": "1.0.0",
|
|
"electron-window-state": "^5.0.3",
|
|
"esbuild": "^0.17.19",
|
|
"fs-extra": "^11.1.1",
|
|
"playwright": "=1.33.0",
|
|
"ts-node": "^10.9.1",
|
|
"undici": "^5.22.1",
|
|
"uuid": "^9.0.0",
|
|
"zx": "^7.2.2"
|
|
},
|
|
"dependencies": {
|
|
"better-sqlite3": "^8.4.0",
|
|
"chokidar": "^3.5.3",
|
|
"electron-updater": "^5.3.0",
|
|
"lodash-es": "^4.17.21",
|
|
"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": "*"
|
|
}
|
|
}
|