mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-14 22:22:19 +03:00
88 lines
2.9 KiB
JSON
88 lines
2.9 KiB
JSON
{
|
|
"name": "@affine/electron",
|
|
"private": true,
|
|
"version": "0.11.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/env": "workspace:*",
|
|
"@affine/native": "workspace:*",
|
|
"@blocksuite/blocks": "0.12.0-nightly-202401120404-4219e86",
|
|
"@blocksuite/lit": "0.12.0-nightly-202401120404-4219e86",
|
|
"@blocksuite/presets": "0.12.0-nightly-202401120404-4219e86",
|
|
"@blocksuite/store": "0.12.0-nightly-202401120404-4219e86",
|
|
"@electron-forge/cli": "^7.2.0",
|
|
"@electron-forge/core": "^7.2.0",
|
|
"@electron-forge/core-utils": "^7.2.0",
|
|
"@electron-forge/maker-deb": "^7.2.0",
|
|
"@electron-forge/maker-dmg": "^7.2.0",
|
|
"@electron-forge/maker-squirrel": "^7.2.0",
|
|
"@electron-forge/maker-zip": "^7.2.0",
|
|
"@electron-forge/plugin-auto-unpack-natives": "^7.2.0",
|
|
"@electron-forge/shared-types": "^7.2.0",
|
|
"@electron/remote": "2.1.1",
|
|
"@reforged/maker-appimage": "^3.3.1",
|
|
"@toeverything/infra": "workspace:*",
|
|
"@types/uuid": "^9.0.7",
|
|
"builder-util-runtime": "^9.2.3",
|
|
"cross-env": "^7.0.3",
|
|
"electron": "^27.1.0",
|
|
"electron-log": "^5.0.1",
|
|
"electron-squirrel-startup": "1.0.0",
|
|
"electron-window-state": "^5.0.3",
|
|
"esbuild": "^0.19.7",
|
|
"fs-extra": "^11.1.1",
|
|
"glob": "^10.3.10",
|
|
"jotai": "^2.5.1",
|
|
"lodash-es": "^4.17.21",
|
|
"rxjs": "^7.8.1",
|
|
"semver": "^7.5.4",
|
|
"tinykeys": "^2.1.0",
|
|
"tree-kill": "^1.2.2",
|
|
"ts-node": "^10.9.1",
|
|
"undici": "^6.0.0",
|
|
"uuid": "^9.0.1",
|
|
"vitest": "1.1.3",
|
|
"which": "^4.0.0",
|
|
"zod": "^3.22.4"
|
|
},
|
|
"dependencies": {
|
|
"async-call-rpc": "^6.3.1",
|
|
"electron-updater": "^6.1.5",
|
|
"link-preview-js": "^3.0.5",
|
|
"nanoid": "^5.0.3",
|
|
"yjs": "^13.6.10"
|
|
},
|
|
"build": {
|
|
"protocols": [
|
|
{
|
|
"name": "affine",
|
|
"schemes": [
|
|
"affine"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"peerDependencies": {
|
|
"ts-node": "*"
|
|
}
|
|
}
|