2025-04-29 12:50:05 +03:00
|
|
|
{
|
|
|
|
"name": "@triliumnext/edit-docs",
|
|
|
|
"version": "0.0.1",
|
|
|
|
"private": true,
|
|
|
|
"devDependencies": {
|
2025-05-02 18:07:13 +00:00
|
|
|
"@electron/rebuild": "4.0.1",
|
2025-04-29 12:50:05 +03:00
|
|
|
"@triliumnext/client": "workspace:*",
|
|
|
|
"@triliumnext/desktop": "workspace:*",
|
|
|
|
"@types/fs-extra": "11.0.4",
|
2025-04-30 14:45:42 +03:00
|
|
|
"copy-webpack-plugin": "13.0.0",
|
2025-05-02 20:57:24 +00:00
|
|
|
"electron": "35.2.2",
|
2025-04-29 12:50:05 +03:00
|
|
|
"fs-extra": "11.3.0"
|
|
|
|
},
|
|
|
|
"nx": {
|
|
|
|
"name": "edit-docs",
|
|
|
|
"targets": {
|
2025-05-02 20:02:29 +03:00
|
|
|
"rebuild-deps": {
|
2025-04-30 14:45:42 +03:00
|
|
|
"executor": "nx:run-commands",
|
2025-05-02 20:02:29 +03:00
|
|
|
"dependsOn": [ "build" ],
|
2025-04-30 14:45:42 +03:00
|
|
|
"defaultConfiguration": "default",
|
|
|
|
"cache": true,
|
|
|
|
"configurations": {
|
|
|
|
"default": {
|
2025-05-02 23:25:01 +03:00
|
|
|
"command": "cross-env DEBUG=* tsx scripts/rebuild.mts",
|
2025-05-02 20:02:29 +03:00
|
|
|
"cwd": "{projectRoot}"
|
2025-04-30 14:45:42 +03:00
|
|
|
},
|
|
|
|
"nixos": {
|
2025-05-02 20:02:29 +03:00
|
|
|
"command": "electron-rebuild -f -v $(nix-shell -p electron_35 --run \"electron --version\") dist/main.js -m dist",
|
|
|
|
"cwd": "{projectRoot}"
|
2025-04-30 14:45:42 +03:00
|
|
|
}
|
2025-05-02 20:02:29 +03:00
|
|
|
}
|
2025-04-30 14:45:42 +03:00
|
|
|
},
|
2025-04-29 12:50:05 +03:00
|
|
|
"serve": {
|
2025-04-30 14:45:42 +03:00
|
|
|
"executor": "nx:run-commands",
|
|
|
|
"dependsOn": [
|
2025-05-02 20:02:29 +03:00
|
|
|
"rebuild-deps"
|
2025-04-30 14:45:42 +03:00
|
|
|
],
|
|
|
|
"defaultConfiguration": "default",
|
|
|
|
"configurations": {
|
|
|
|
"default": {
|
|
|
|
"command": "electron .",
|
2025-04-30 22:17:31 +03:00
|
|
|
"cwd": "./apps/edit-docs/dist"
|
2025-04-30 14:45:42 +03:00
|
|
|
},
|
|
|
|
"nixos": {
|
2025-04-30 22:17:31 +03:00
|
|
|
"command": "nix-shell -p electron_35 --run \"electron .\"",
|
|
|
|
"forwardAllArgs": false,
|
|
|
|
"cwd": "./apps/edit-docs/dist"
|
2025-04-30 14:45:42 +03:00
|
|
|
}
|
|
|
|
}
|
2025-04-29 12:50:05 +03:00
|
|
|
}
|
|
|
|
}
|
2025-04-30 22:17:31 +03:00
|
|
|
},
|
|
|
|
"dependencies": {
|
|
|
|
"archiver": "7.0.1"
|
2025-04-29 12:50:05 +03:00
|
|
|
}
|
|
|
|
}
|