AFFiNE/apps/electron/package.json

86 lines
2.7 KiB
JSON
Raw Normal View History

2023-03-16 17:58:21 +03:00
{
"name": "@affine/electron",
"private": true,
2023-05-15 09:14:36 +03:00
"version": "0.6.0-canary.2",
"author": "affine",
"repository": {
"url": "https://github.com/toeverything/AFFiNE",
"type": "git"
},
"description": "AFFiNE App",
"homepage": "https://github.com/toeverything/AFFiNE",
2023-03-16 17:58:21 +03:00
"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",
"generate-main-exposed-meta": "zx scripts/generate-main-exposed-meta.mjs",
"package": "electron-forge package",
2023-03-16 17:58:21 +03:00
"make": "electron-forge make",
"make-macos-arm64": "electron-forge make --platform=darwin --arch=arm64",
"make-macos-x64": "electron-forge make --platform=darwin --arch=x64",
"make-windows-x64": "electron-forge make --platform=win32 --arch=x64",
2023-04-21 18:30:49 +03:00
"make-linux-x64": "electron-forge make --platform=linux --arch=x64",
"rebuild:for-unit-test": "yarn rebuild better-sqlite3",
2023-04-25 02:53:36 +03:00
"rebuild:for-electron": "yarn electron-rebuild",
"test": "playwright test"
2023-03-16 17:58:21 +03:00
},
"config": {
"forge": "./forge.config.js"
},
"main": "./dist/layers/main/index.js",
"devDependencies": {
"@affine-test/kit": "workspace:*",
2023-04-11 01:41:07 +03:00
"@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",
2023-04-25 03:46:46 +03:00
"@electron/rebuild": "^3.2.13",
"@electron/remote": "2.0.9",
2023-04-21 18:30:49 +03:00
"@types/better-sqlite3": "^7.6.4",
"@types/fs-extra": "^11.0.1",
"cross-env": "7.0.3",
2023-05-11 05:43:14 +03:00
"electron": "24.3.0",
2023-04-23 09:42:27 +03:00
"electron-log": "^5.0.0-beta.23",
"electron-squirrel-startup": "1.0.0",
2023-04-21 18:30:49 +03:00
"electron-window-state": "^5.0.3",
"esbuild": "^0.17.19",
2023-04-21 18:30:49 +03:00
"fs-extra": "^11.1.1",
2023-04-28 01:59:54 +03:00
"playwright": "^1.33.0",
2023-04-25 02:53:36 +03:00
"ts-node": "^10.9.1",
2023-05-12 21:47:14 +03:00
"undici": "^5.22.1",
2023-05-03 00:50:58 +03:00
"zx": "^7.2.2"
2023-03-16 17:58:21 +03:00
},
"dependencies": {
2023-04-21 18:30:49 +03:00
"better-sqlite3": "^8.3.0",
"chokidar": "^3.5.3",
"electron-updater": "^5.3.0",
"nanoid": "^4.0.2",
"rxjs": "^7.8.1",
2023-05-05 02:49:08 +03:00
"yjs": "^13.6.1"
},
"build": {
"protocols": [
{
"name": "affine",
"schemes": [
"affine"
]
}
]
2023-03-28 06:07:36 +03:00
},
"stableVersion": "0.5.3",
"installConfig": {
"hoistingLimits": "workspaces"
2023-04-25 02:53:36 +03:00
},
"peerDependencies": {
"playwright": "*",
"ts-node": "*"
}
2023-03-16 17:58:21 +03:00
}