2025-04-23 12:59:26 +03:00
|
|
|
{
|
|
|
|
"name": "@triliumnext/desktop",
|
|
|
|
"version": "0.0.1",
|
2025-05-03 03:14:23 +03:00
|
|
|
"description": "Build your personal knowledge base with TriliumNext Notes",
|
2025-04-23 12:59:26 +03:00
|
|
|
"private": true,
|
2025-04-26 03:23:47 +03:00
|
|
|
"main": "main.js",
|
2025-04-25 17:46:50 +03:00
|
|
|
"dependencies": {
|
2025-04-26 00:42:43 +03:00
|
|
|
"@electron/remote": "2.1.2",
|
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-26 11:38:39 +03:00
|
|
|
"electron-squirrel-startup": "1.0.1",
|
|
|
|
"jquery.fancytree": "2.38.5",
|
2025-04-26 11:45:32 +03:00
|
|
|
"jquery-hotkeys": "0.2.2",
|
|
|
|
"@highlightjs/cdn-assets": "11.11.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-26 00:42:43 +03:00
|
|
|
"@triliumnext/server": "workspace:*",
|
2025-04-25 17:46:50 +03:00
|
|
|
"copy-webpack-plugin": "13.0.0",
|
2025-05-02 20:57:24 +00:00
|
|
|
"electron": "35.2.2",
|
2025-05-02 18:07:13 +00:00
|
|
|
"@electron/rebuild": "4.0.1",
|
2025-04-25 17:13:01 +03:00
|
|
|
"@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",
|
2025-04-26 03:23:47 +03:00
|
|
|
"@electron-forge/plugin-auto-unpack-natives": "7.8.0",
|
|
|
|
"prebuild-install": "^7.1.1"
|
2025-04-23 14:38:41 +03:00
|
|
|
},
|
2025-04-26 03:23:47 +03:00
|
|
|
"config": {
|
|
|
|
"forge": "../electron-forge/forge.config.cjs"
|
|
|
|
},
|
|
|
|
"packageManager": "pnpm@10.9.0+sha512.0486e394640d3c1fb3c9d43d49cf92879ff74f8516959c235308f5a8f62e2e19528a65cdc2a3058f587cde71eba3d5b56327c8c33a97e4c4051ca48a10ca2d5f",
|
2025-04-23 14:38:41 +03:00
|
|
|
"scripts": {
|
2025-05-01 11:28:05 +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 13:22:13 +03:00
|
|
|
},
|
2025-04-27 12:46:45 +03:00
|
|
|
"license": "AGPL-3.0-only",
|
2025-04-26 01:28:07 +03:00
|
|
|
"author": {
|
|
|
|
"name": "TriliumNext Notes Team",
|
|
|
|
"email": "contact@eliandoran.me",
|
|
|
|
"url": "https://github.com/TriliumNext/Notes"
|
2025-05-03 03:14:23 +03:00
|
|
|
},
|
2025-04-23 12:59:26 +03:00
|
|
|
"nx": {
|
2025-04-30 22:28:25 +03:00
|
|
|
"name": "desktop",
|
2025-04-23 12:59:26 +03:00
|
|
|
"targets": {
|
2025-05-01 11:28:05 +03:00
|
|
|
"rebuild-deps": {
|
2025-04-29 09:51:32 +03:00
|
|
|
"executor": "nx:run-commands",
|
2025-04-28 19:58:43 +03:00
|
|
|
"dependsOn": [ "build" ],
|
2025-04-29 09:51:32 +03:00
|
|
|
"defaultConfiguration": "default",
|
|
|
|
"cache": true,
|
|
|
|
"configurations": {
|
|
|
|
"default": {
|
2025-05-02 23:24:32 +03:00
|
|
|
"command": "cross-env DEBUG=* tsx scripts/rebuild.mts",
|
2025-05-01 11:30:44 +03:00
|
|
|
"cwd": "{projectRoot}"
|
2025-04-29 09:51:32 +03:00
|
|
|
},
|
|
|
|
"nixos": {
|
2025-05-01 11:30:44 +03:00
|
|
|
"command": "electron-rebuild -f -v $(nix-shell -p electron_35 --run \"electron --version\") dist/main.js -m dist",
|
|
|
|
"cwd": "{projectRoot}"
|
2025-04-29 09:51:32 +03:00
|
|
|
}
|
|
|
|
}
|
2025-04-28 19:58:43 +03:00
|
|
|
},
|
2025-04-23 12:59:26 +03:00
|
|
|
"serve": {
|
2025-04-30 14:45:42 +03:00
|
|
|
"executor": "nx:run-commands",
|
2025-05-01 11:28:05 +03:00
|
|
|
"dependsOn": [ "rebuild-deps" ],
|
2025-04-30 14:45:42 +03:00
|
|
|
"defaultConfiguration": "default",
|
2025-04-29 09:51:32 +03:00
|
|
|
"configurations": {
|
|
|
|
"default": {
|
2025-04-30 14:45:42 +03:00
|
|
|
"command": "electron .",
|
|
|
|
"cwd": "{projectRoot}/dist"
|
2025-04-29 09:51:32 +03:00
|
|
|
},
|
|
|
|
"nixos": {
|
|
|
|
"command": "nix-shell -p electron_35 --run \"electron {projectRoot}/dist/main.js\"",
|
|
|
|
"cwd": ".",
|
|
|
|
"forwardAllArgs": false
|
|
|
|
}
|
|
|
|
}
|
2025-04-24 15:04:34 +03:00
|
|
|
},
|
2025-04-26 02:12:52 +03:00
|
|
|
"electron-forge:make": {
|
2025-04-25 17:13:01 +03:00
|
|
|
"dependsOn": [ "build" ],
|
2025-05-02 17:19:44 +03:00
|
|
|
"command": "pnpm -C apps/desktop exec cross-env NODE_INSTALLER=npm electron-forge make dist"
|
2025-04-26 02:12:52 +03:00
|
|
|
},
|
|
|
|
"electron-forge:package": {
|
|
|
|
"dependsOn": [ "build" ],
|
2025-05-02 17:19:44 +03:00
|
|
|
"command": "pnpm -C apps/desktop exec cross-env NODE_INSTALLER=npm electron-forge package dist"
|
2025-04-23 12:59:26 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|