{ "name": "@affine/electron", "private": true, "version": "0.18.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", "make-nsis": "node --loader ts-node/esm/transpile-only scripts/make-nsis.ts" }, "main": "./dist/main.js", "devDependencies": { "@affine-test/kit": "workspace:*", "@affine/component": "workspace:*", "@affine/core": "workspace:*", "@affine/electron-api": "workspace:*", "@affine/i18n": "workspace:*", "@affine/native": "workspace:*", "@affine/nbstore": "workspace:*", "@blocksuite/affine": "0.19.2", "@electron-forge/cli": "^7.6.0", "@electron-forge/core": "^7.6.0", "@electron-forge/core-utils": "^7.6.0", "@electron-forge/maker-deb": "^7.6.0", "@electron-forge/maker-dmg": "^7.6.0", "@electron-forge/maker-flatpak": "^7.6.0", "@electron-forge/maker-squirrel": "^7.6.0", "@electron-forge/maker-zip": "^7.6.0", "@electron-forge/plugin-auto-unpack-natives": "^7.6.0", "@electron-forge/shared-types": "^7.6.0", "@emotion/react": "^11.14.0", "@pengx17/electron-forge-maker-appimage": "^1.2.1", "@sentry/electron": "^5.8.0", "@sentry/esbuild-plugin": "^2.22.7", "@sentry/react": "^8.44.0", "@toeverything/infra": "workspace:*", "@types/set-cookie-parser": "^2.4.10", "@types/uuid": "^10.0.0", "@vanilla-extract/css": "^1.16.1", "@vitejs/plugin-react-swc": "^3.7.2", "app-builder-lib": "^25.1.8", "builder-util-runtime": "^9.2.10", "cross-env": "^7.0.3", "debug": "^4.4.0", "electron": "^33.3.0", "electron-log": "^5.2.4", "electron-squirrel-startup": "1.0.1", "electron-window-state": "^5.0.3", "esbuild": "^0.24.0", "fs-extra": "^11.2.0", "glob": "^11.0.0", "lodash-es": "^4.17.21", "msw": "^2.6.8", "nanoid": "^5.0.9", "react": "^19.0.0", "react-dom": "^19.0.0", "react-router-dom": "^6.28.0", "rxjs": "^7.8.1", "semver": "^7.6.3", "tree-kill": "^1.2.2", "ts-node": "^10.9.2", "uuid": "^11.0.3", "vitest": "2.1.8", "zod": "^3.24.1" }, "dependencies": { "async-call-rpc": "^6.4.2", "electron-updater": "^6.3.9", "link-preview-js": "^3.0.12", "next-themes": "^0.4.4", "set-cookie-parser": "^2.7.1", "yjs": "patch:yjs@npm%3A13.6.18#~/.yarn/patches/yjs-npm-13.6.18-ad0d5f7c43.patch" }, "build": { "protocols": [ { "name": "affine", "schemes": [ "affine" ] } ] }, "peerDependencies": { "ts-node": "*" } }