2025-04-23 12:59:26 +03:00
|
|
|
{
|
|
|
|
"name": "@triliumnext/desktop",
|
|
|
|
"version": "0.0.1",
|
|
|
|
"private": true,
|
2025-04-25 17:46:50 +03:00
|
|
|
"main": "dist/main.js",
|
|
|
|
"dependencies": {
|
2025-04-23 14:31:11 +03:00
|
|
|
"@electron/remote": "2.1.2",
|
2025-04-23 18:38:47 +03:00
|
|
|
"@triliumnext/server": "workspace:*",
|
2025-04-23 13:22:13 +03:00
|
|
|
"better-sqlite3": "^11.9.1",
|
|
|
|
"electron-debug": "4.1.0",
|
|
|
|
"electron-dl": "4.0.0",
|
2025-04-23 14:31:11 +03:00
|
|
|
"electron-squirrel-startup": "1.0.1"
|
2025-04-23 13:22:13 +03:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2025-04-23 14:31:11 +03:00
|
|
|
"@types/electron-squirrel-startup": "1.0.2",
|
2025-04-25 17:46:50 +03:00
|
|
|
"copy-webpack-plugin": "13.0.0",
|
|
|
|
"electron": "35.1.5",
|
2025-04-25 17:13:01 +03:00
|
|
|
"@electron/rebuild": "3.7.2",
|
|
|
|
"@electron-forge/cli": "7.8.0",
|
|
|
|
"@electron-forge/maker-deb": "7.8.0",
|
|
|
|
"@electron-forge/maker-dmg": "7.8.0",
|
|
|
|
"@electron-forge/maker-flatpak": "7.8.0",
|
|
|
|
"@electron-forge/maker-rpm": "7.8.0",
|
|
|
|
"@electron-forge/maker-squirrel": "7.8.0",
|
|
|
|
"@electron-forge/maker-zip": "7.8.0",
|
|
|
|
"@electron-forge/plugin-auto-unpack-natives": "7.8.0"
|
2025-04-23 14:38:41 +03:00
|
|
|
},
|
|
|
|
"scripts": {
|
2025-04-24 21:47:03 +03:00
|
|
|
"start-prod": "nx build desktop && cross-env TRILIUM_DATA_DIR=data TRILIUM_RESOURCE_DIR=dist TRILIUM_PORT=37841 electron dist/main.js",
|
2025-04-23 14:38:41 +03:00
|
|
|
"rebuild": "electron-rebuild"
|
2025-04-23 13:22:13 +03:00
|
|
|
},
|
2025-04-23 12:59:26 +03:00
|
|
|
"nx": {
|
|
|
|
"targets": {
|
|
|
|
"serve": {
|
|
|
|
"executor": "@nx/js:node",
|
|
|
|
"defaultConfiguration": "development",
|
|
|
|
"dependsOn": [
|
|
|
|
"build"
|
|
|
|
],
|
|
|
|
"options": {
|
|
|
|
"buildTarget": "@triliumnext/desktop:build",
|
|
|
|
"runBuildTargetDependencies": false
|
|
|
|
},
|
|
|
|
"configurations": {
|
|
|
|
"development": {
|
|
|
|
"buildTarget": "@triliumnext/desktop:build:development"
|
|
|
|
},
|
|
|
|
"production": {
|
|
|
|
"buildTarget": "@triliumnext/desktop:build:production"
|
|
|
|
}
|
|
|
|
}
|
2025-04-24 15:04:34 +03:00
|
|
|
},
|
|
|
|
"build": {
|
|
|
|
"dependsOn": [
|
|
|
|
{
|
|
|
|
"target": "build",
|
|
|
|
"projects": [
|
2025-04-24 21:47:03 +03:00
|
|
|
"client",
|
|
|
|
"server"
|
2025-04-24 15:04:34 +03:00
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
2025-04-25 17:13:01 +03:00
|
|
|
},
|
|
|
|
"make": {
|
|
|
|
"dependsOn": [ "build" ],
|
2025-04-25 18:23:52 +03:00
|
|
|
"command": "pnpm exec electron-forge make apps/desktop"
|
2025-04-23 12:59:26 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|