mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 10:02:59 +08:00
57 lines
1.6 KiB
JSON
57 lines
1.6 KiB
JSON
{
|
|
"name": "@triliumnext/edit-docs",
|
|
"version": "0.0.1",
|
|
"private": true,
|
|
"description": "Desktop version of Trilium which imports the demo database (presented to new users at start-up) or the user guide and other documentation and saves the modifications for committing.",
|
|
"devDependencies": {
|
|
"@triliumnext/client": "workspace:*",
|
|
"@triliumnext/desktop": "workspace:*",
|
|
"@types/fs-extra": "11.0.4",
|
|
"copy-webpack-plugin": "13.0.0",
|
|
"electron": "35.3.0",
|
|
"fs-extra": "11.3.0"
|
|
},
|
|
"nx": {
|
|
"name": "edit-docs",
|
|
"targets": {
|
|
"rebuild-deps": {
|
|
"executor": "nx:run-commands",
|
|
"dependsOn": [
|
|
"build"
|
|
],
|
|
"defaultConfiguration": "default",
|
|
"cache": true,
|
|
"configurations": {
|
|
"default": {
|
|
"command": "cross-env DEBUG=* tsx scripts/electron-rebuild.mts {projectRoot}/dist"
|
|
},
|
|
"nixos": {
|
|
"command": "cross-env DEBUG=* tsx scripts/electron-rebuild.mts {projectRoot}/dist $(nix-shell -p electron_33 --run \"electron --version\")"
|
|
}
|
|
}
|
|
},
|
|
"serve": {
|
|
"executor": "nx:run-commands",
|
|
"dependsOn": [
|
|
"rebuild-deps"
|
|
],
|
|
"defaultConfiguration": "default",
|
|
"configurations": {
|
|
"default": {
|
|
"command": "electron .",
|
|
"cwd": "./apps/edit-docs/dist"
|
|
},
|
|
"nixos": {
|
|
"command": "nix-shell -p electron_35 --run \"electron .\"",
|
|
"forwardAllArgs": false,
|
|
"cwd": "./apps/edit-docs/dist"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"archiver": "7.0.1"
|
|
}
|
|
}
|