chore(monorepo/electron): add run script

This commit is contained in:
Elian Doran 2025-04-18 23:59:09 +03:00
parent 00ca0e6e32
commit 454301748e
No known key found for this signature in database
2 changed files with 2 additions and 1 deletions

1
apps/electron/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
data

View File

@ -19,7 +19,7 @@
"type": "module",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"start": "cross-env NODE_OPTIONS=\"--import tsx\" TRILIUM_DATA_DIR=./data TRILIUM_ENV=dev electron ./src/electron-main.ts --inspect=5858 ."
},
"dependencies": {
"electron-debug": "4.1.0",