2025-04-18 11:52:52 +03:00
{
"name" : "@triliumnext/server" ,
"version" : "0.0.1" ,
"description" : "The server-side component of TriliumNext, which exposes the client via the web, allows for sync and provides a REST API for both internal and external use." ,
"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" : "index.js" ,
"scripts" : {
2025-04-18 17:45:32 +03:00
"build:clean" : "rimraf ./dist ./build" ,
2025-04-18 18:15:31 +03:00
"build:copy-dist" : "tsx ./scripts/copy-dist.ts" ,
"build:prepare-dist" : "npm run build:clean && npm run build:ts && npm run build:copy-dist" ,
2025-04-18 13:03:01 +03:00
"build:ts" : "tsc" ,
2025-04-18 20:40:24 +03:00
"dist:start" : "npm run build:prepare-dist && cross-env TRILIUM_DATA_DIR=./data node build/src/main.js" ,
2025-04-18 17:08:43 +03:00
"start" : "cross-env TRILIUM_DATA_DIR=./data TRILIUM_ENV=dev nodemon src/main.ts" ,
"test" : "cross-env TRILIUM_ENV=dev TRILIUM_DATA_DIR=./spec/data TRILIUM_INTEGRATION_TEST=memory vitest" ,
2025-04-18 17:38:10 +03:00
"coverage" : "cross-env TRILIUM_ENV=dev TRILIUM_DATA_DIR=./spec/data TRILIUM_INTEGRATION_TEST=memory vitest --coverage" ,
"package" : "bash ./scripts/build-server.sh"
2025-04-18 11:59:00 +03:00
} ,
2025-04-18 12:24:41 +03:00
"dependencies" : {
2025-04-21 00:28:53 +03:00
2025-04-18 12:24:41 +03:00
} ,
"devDependencies" : {
2025-04-18 12:09:56 +03:00
"typescript" : "5.8.3" ,
2025-04-22 17:37:02 +03:00
"typescript-eslint" : "8.30.1" ,
2025-04-18 13:03:01 +03:00
"nodemon" : "3.1.9" ,
"cross-env" : "7.0.3" ,
2025-04-22 17:37:02 +03:00
"tsx" : "4.19.3" ,
"vitest" : "^3.1.1"
2025-04-18 11:52:52 +03:00
}
}