mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 10:02:59 +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",
|
||||
"version": "0.0.1",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"devDependencies": {
|
||||
"@triliumnext/client": "workspace:*",
|
||||
"@triliumnext/desktop": "workspace:*",
|
||||
@ -13,23 +12,8 @@
|
||||
"name": "edit-docs",
|
||||
"targets": {
|
||||
"serve": {
|
||||
"executor": "@nx/js:node",
|
||||
"defaultConfiguration": "development",
|
||||
"dependsOn": [
|
||||
"build"
|
||||
],
|
||||
"options": {
|
||||
"buildTarget": "edit-docs:build",
|
||||
"runBuildTargetDependencies": false
|
||||
},
|
||||
"configurations": {
|
||||
"development": {
|
||||
"buildTarget": "edit-docs:build:development"
|
||||
},
|
||||
"production": {
|
||||
"buildTarget": "edit-docs:build:production"
|
||||
}
|
||||
}
|
||||
"dependsOn": [ "build" ],
|
||||
"command": "electron {projectRoot}/dist/main"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user