mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 18:12:29 +08:00
chore(edit-docs): add serve script
This commit is contained in:
parent
00396614ed
commit
83385a20bc
@ -2,7 +2,6 @@
|
|||||||
"name": "@triliumnext/edit-docs",
|
"name": "@triliumnext/edit-docs",
|
||||||
"version": "0.0.1",
|
"version": "0.0.1",
|
||||||
"private": true,
|
"private": true,
|
||||||
"type": "module",
|
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@triliumnext/client": "workspace:*",
|
"@triliumnext/client": "workspace:*",
|
||||||
"@triliumnext/desktop": "workspace:*",
|
"@triliumnext/desktop": "workspace:*",
|
||||||
@ -13,23 +12,8 @@
|
|||||||
"name": "edit-docs",
|
"name": "edit-docs",
|
||||||
"targets": {
|
"targets": {
|
||||||
"serve": {
|
"serve": {
|
||||||
"executor": "@nx/js:node",
|
"dependsOn": [ "build" ],
|
||||||
"defaultConfiguration": "development",
|
"command": "electron {projectRoot}/dist/main"
|
||||||
"dependsOn": [
|
|
||||||
"build"
|
|
||||||
],
|
|
||||||
"options": {
|
|
||||||
"buildTarget": "edit-docs:build",
|
|
||||||
"runBuildTargetDependencies": false
|
|
||||||
},
|
|
||||||
"configurations": {
|
|
||||||
"development": {
|
|
||||||
"buildTarget": "edit-docs:build:development"
|
|
||||||
},
|
|
||||||
"production": {
|
|
||||||
"buildTarget": "edit-docs:build:production"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user