{ "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-202404090831-25c5310", "@blocksuite/blocks": "0.14.0-canary-202404090831-25c5310", "@blocksuite/presets": "0.14.0-canary-202404090831-25c5310", "@blocksuite/store": "0.14.0-canary-202404090831-25c5310", "@electron-forge/cli": "^7.3.1", "@electron-forge/core": "^7.3.1", "@electron-forge/core-utils": "^7.3.1", "@electron-forge/maker-deb": "^7.3.1", "@electron-forge/maker-dmg": "^7.3.1", "@electron-forge/maker-squirrel": "^7.3.1", "@electron-forge/maker-zip": "^7.3.1", "@electron-forge/plugin-auto-unpack-natives": "^7.3.1", "@electron-forge/shared-types": "^7.3.1", "@emotion/react": "^11.11.4", "@pengx17/electron-forge-maker-appimage": "^1.2.0", "@sentry/electron": "^4.22.0", "@sentry/esbuild-plugin": "^2.16.1", "@sentry/react": "^7.109.0", "@toeverything/infra": "workspace:*", "@types/uuid": "^9.0.8", "@vitejs/plugin-react-swc": "^3.6.0", "builder-util-runtime": "^9.2.5-alpha.2", "core-js": "^3.36.1", "cross-env": "^7.0.3", "electron": "^29.3.0", "electron-log": "^5.1.2", "electron-squirrel-startup": "1.0.0", "electron-window-state": "^5.0.3", "esbuild": "^0.20.2", "fs-extra": "^11.2.0", "glob": "^10.3.12", "jotai": "^2.8.0", "jotai-devtools": "^0.8.0", "lodash-es": "^4.17.21", "nanoid": "^5.0.7", "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.12.0", "uuid": "^9.0.1", "vitest": "1.4.0", "which": "^4.0.0", "zod": "^3.22.4" }, "dependencies": { "async-call-rpc": "^6.4.2", "electron-updater": "^6.2.1", "link-preview-js": "^3.0.5", "yjs": "^13.6.14" }, "build": { "protocols": [ { "name": "affine", "schemes": [ "affine" ] } ] }, "peerDependencies": { "ts-node": "*" } }