{ "name": "@affine/electron", "private": true, "version": "0.14.0", "author": "toeverything", "repository": { "url": "https://github.com/toeverything/AFFiNE", "type": "git" }, "description": "AFFiNE Desktop App", "homepage": "https://github.com/toeverything/AFFiNE", "scripts": { "start": "electron .", "dev": "DEV_SERVER_URL=http://localhost:8080 node --loader ts-node/esm/transpile-only ./scripts/dev.ts", "dev:prod": "yarn node --loader ts-node/esm/transpile-only scripts/dev.ts", "build": "NODE_ENV=production node --loader ts-node/esm/transpile-only scripts/build-layers.ts", "build:dev": "NODE_ENV=development node --loader ts-node/esm/transpile-only scripts/build-layers.ts", "generate-assets": "node --loader ts-node/esm/transpile-only scripts/generate-assets.ts", "package": "cross-env NODE_OPTIONS=\"--loader ts-node/esm/transpile-only\" electron-forge package", "make": "cross-env NODE_OPTIONS=\"--loader ts-node/esm/transpile-only\" electron-forge make", "make-squirrel": "node --loader ts-node/esm/transpile-only scripts/make-squirrel.ts" }, "main": "./dist/main.js", "devDependencies": { "@affine-test/kit": "workspace:*", "@affine/component": "workspace:*", "@affine/core": "workspace:*", "@affine/env": "workspace:*", "@affine/i18n": "workspace:*", "@affine/native": "workspace:*", "@blocksuite/block-std": "0.14.0-canary-202403250855-4171ecd", "@blocksuite/blocks": "0.14.0-canary-202403250855-4171ecd", "@blocksuite/presets": "0.14.0-canary-202403250855-4171ecd", "@blocksuite/store": "0.14.0-canary-202403250855-4171ecd", "@electron-forge/cli": "^7.3.0", "@electron-forge/core": "^7.3.0", "@electron-forge/core-utils": "^7.3.0", "@electron-forge/maker-deb": "^7.3.0", "@electron-forge/maker-dmg": "^7.3.0", "@electron-forge/maker-squirrel": "^7.3.0", "@electron-forge/maker-zip": "^7.3.0", "@electron-forge/plugin-auto-unpack-natives": "^7.3.0", "@electron-forge/shared-types": "^7.3.0", "@emotion/react": "^11.11.4", "@pengx17/electron-forge-maker-appimage": "^1.2.0", "@sentry/electron": "^4.21.0", "@sentry/esbuild-plugin": "^2.16.0", "@sentry/react": "^7.108.0", "@toeverything/infra": "workspace:*", "@types/uuid": "^9.0.8", "@vitejs/plugin-react-swc": "^3.6.0", "builder-util-runtime": "^9.2.4", "core-js": "^3.36.1", "cross-env": "^7.0.3", "electron": "^29.0.1", "electron-log": "^5.1.1", "electron-squirrel-startup": "1.0.0", "electron-window-state": "^5.0.3", "esbuild": "^0.20.1", "fs-extra": "^11.2.0", "glob": "^10.3.10", "jotai": "^2.6.5", "jotai-devtools": "^0.8.0", "lodash-es": "^4.17.21", "nanoid": "^5.0.6", "react": "^18.2.0", "react-dom": "^18.2.0", "react-router-dom": "^6.22.3", "rxjs": "^7.8.1", "semver": "^7.6.0", "tinykeys": "patch:tinykeys@npm%3A2.1.0#~/.yarn/patches/tinykeys-npm-2.1.0-819feeaed0.patch", "tree-kill": "^1.2.2", "ts-node": "^10.9.2", "undici": "^6.6.2", "uuid": "^9.0.1", "vitest": "1.4.0", "which": "^4.0.0", "zod": "^3.22.4" }, "dependencies": { "async-call-rpc": "^6.4.0", "electron-updater": "^6.1.9", "link-preview-js": "^3.0.5", "yjs": "^13.6.12" }, "build": { "protocols": [ { "name": "affine", "schemes": [ "affine" ] } ] }, "peerDependencies": { "ts-node": "*" } }