mirror of
https://github.com/zadam/trilium.git
synced 2025-12-05 23:14:24 +01:00
41 lines
1.6 KiB
JSON
41 lines
1.6 KiB
JSON
{
|
|
"name": "@triliumnext/electron",
|
|
"version": "0.0.1",
|
|
"description": "Desktop client for TriliumNext, embedding both the client and the server.",
|
|
"homepage": "https://github.com/TriliumNext/Notes#readme",
|
|
"bugs": {
|
|
"url": "https://github.com/TriliumNext/Notes/issues"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/TriliumNext/Notes.git"
|
|
},
|
|
"license": "AGPL-3.0-only",
|
|
"author": {
|
|
"name": "TriliumNext Notes Team",
|
|
"email": "contact@eliandoran.me",
|
|
"url": "https://github.com/TriliumNext/Notes"
|
|
},
|
|
"type": "module",
|
|
"main": "src/electron-main.js",
|
|
"scripts": {
|
|
"start": "cross-env NODE_OPTIONS=\"--import tsx\" TRILIUM_DATA_DIR=./data TRILIUM_ENV=dev electron ./src/electron-main.ts --inspect=5858 .",
|
|
"start-prod": "npm run build:prepare-dist && npx electron-rebuild -m build && cross-env TRILIUM_DATA_DIR=./data TRILIUM_ENV=prod electron ./build/src/electron-main.js --inspect=5858 .",
|
|
|
|
"build:clean": "rimraf ./dist ./build",
|
|
"build:copy-dist": "tsx ./scripts/copy-dist.ts",
|
|
"build:prepare-dist": "npm run build:clean && npm run build:copy-dist && npm run build:ts",
|
|
"build:ts": "tsc",
|
|
|
|
"electron-forge:start": "npm run build:prepare-dist && cd ./build && electron-forge start",
|
|
"electron-forge:make": "npm run build:prepare-dist && cross-env DEBUG=electron-windows-installer:* electron-forge make ./build",
|
|
"electron-forge:package": "npm run build:prepare-dist && cd ./build && electron-forge package"
|
|
},
|
|
"dependencies": {
|
|
"@triliumnext/server": "0.0.1"
|
|
},
|
|
"devDependencies": {
|
|
"tsx": "4.19.3"
|
|
}
|
|
}
|