mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 10:02:59 +08:00
59 lines
1.4 KiB
JSON
59 lines
1.4 KiB
JSON
{
|
|
"name": "@triliumnext/edit-docs",
|
|
"version": "0.0.1",
|
|
"private": true,
|
|
"devDependencies": {
|
|
"@electron/rebuild": "3.7.2",
|
|
"@triliumnext/client": "workspace:*",
|
|
"@triliumnext/desktop": "workspace:*",
|
|
"@types/fs-extra": "11.0.4",
|
|
"copy-webpack-plugin": "13.0.0",
|
|
"electron": "35.1.5",
|
|
"fs-extra": "11.3.0"
|
|
},
|
|
"nx": {
|
|
"name": "edit-docs",
|
|
"targets": {
|
|
"postbuild": {
|
|
"executor": "nx:run-commands",
|
|
"dependsOn": [
|
|
"build"
|
|
],
|
|
"defaultConfiguration": "default",
|
|
"cache": true,
|
|
"configurations": {
|
|
"default": {
|
|
"command": "electron-rebuild",
|
|
"cwd": "{projectRoot}/dist"
|
|
},
|
|
"nixos": {
|
|
"command": "electron-rebuild -v $(nix-shell -p electron_35 --run \"electron --version\")",
|
|
"cwd": "{projectRoot}/dist"
|
|
}
|
|
}
|
|
},
|
|
"serve": {
|
|
"executor": "nx:run-commands",
|
|
"dependsOn": [
|
|
"postbuild"
|
|
],
|
|
"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"
|
|
}
|
|
}
|