2025-04-22 17:13:17 +03:00
{
"name" : "@triliumnext/server" ,
2025-05-02 21:29:19 +03:00
"version" : "0.94.0" ,
2025-05-03 03:14:23 +03:00
"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." ,
2025-04-22 17:13:17 +03:00
"private" : true ,
2025-05-02 21:29:19 +03:00
"dependencies" : {
2025-04-26 11:38:39 +03:00
"better-sqlite3" : "11.9.1" ,
"jquery.fancytree" : "2.38.5" ,
2025-04-26 11:45:32 +03:00
"jquery-hotkeys" : "0.2.2" ,
"@highlightjs/cdn-assets" : "11.11.1"
2025-04-25 12:15:02 +03:00
} ,
"devDependencies" : {
"@electron/remote" : "2.1.2" ,
2025-05-02 21:29:19 +03:00
"@excalidraw/excalidraw" : "0.18.0" ,
2025-04-25 12:15:02 +03:00
"@types/archiver" : "6.0.3" ,
"@types/better-sqlite3" : "7.6.13" ,
"@types/cheerio" : "0.22.35" ,
"@types/cls-hooked" : "4.3.9" ,
"@types/compression" : "1.7.5" ,
"@types/cookie-parser" : "1.4.8" ,
"@types/debounce" : "1.2.4" ,
"@types/ejs" : "3.1.5" ,
"@types/escape-html" : "1.0.4" ,
"@types/express-http-proxy" : "1.6.6" ,
"@types/express-session" : "1.18.1" ,
"@types/fs-extra" : "11.0.4" ,
"@types/html" : "1.0.4" ,
"@types/ini" : "4.1.1" ,
"@types/js-yaml" : "4.0.9" ,
"@types/jsdom" : "21.1.7" ,
"@types/mime-types" : "2.1.4" ,
"@types/multer" : "1.4.12" ,
"@types/safe-compare" : "1.1.2" ,
"@types/sanitize-html" : "2.15.0" ,
"@types/sax" : "1.2.7" ,
"@types/serve-favicon" : "2.5.7" ,
"@types/serve-static" : "1.15.7" ,
"@types/session-file-store" : "1.2.5" ,
"@types/stream-throttle" : "0.1.4" ,
"@types/supertest" : "6.0.3" ,
"@types/swagger-ui-express" : "4.1.8" ,
"@types/tmp" : "0.2.6" ,
"@types/turndown" : "5.0.5" ,
"@types/ws" : "8.18.1" ,
"@types/xml2js" : "0.4.14" ,
"autocomplete.js" : "0.38.1" ,
"boxicons" : "2.1.4" ,
"codemirror" : "5.65.19" ,
"express-http-proxy" : "2.1.1" ,
2025-05-02 21:29:19 +03:00
"jquery" : "3.7.1" ,
2025-04-25 12:15:02 +03:00
"katex" : "0.16.22" ,
"normalize.css" : "8.0.1" ,
2025-05-02 18:04:03 +00:00
"@anthropic-ai/sdk" : "0.40.1" ,
2025-04-23 10:06:37 +03:00
"@braintree/sanitize-url" : "7.1.1" ,
2025-04-23 18:38:47 +03:00
"@triliumnext/commons" : "workspace:*" ,
2025-05-03 01:59:17 +03:00
"@triliumnext/express-partial-content" : "workspace:*" ,
2025-04-23 18:38:47 +03:00
"@triliumnext/turndown-plugin-gfm" : "workspace:*" ,
2025-04-23 10:06:37 +03:00
"archiver" : "7.0.1" ,
"async-mutex" : "0.5.0" ,
2025-05-02 18:04:35 +00:00
"axios" : "1.9.0" ,
2025-04-24 21:45:13 +03:00
"bindings" : "1.5.0" ,
2025-04-23 10:06:37 +03:00
"chardet" : "2.1.0" ,
"cheerio" : "1.0.0" ,
"chokidar" : "4.0.3" ,
"cls-hooked" : "4.2.2" ,
"compression" : "1.8.0" ,
"cookie-parser" : "1.4.7" ,
2025-05-02 18:05:03 +00:00
"csrf-csrf" : "3.2.2" ,
2025-04-23 10:06:37 +03:00
"dayjs" : "1.11.13" ,
"debounce" : "2.2.0" ,
2025-04-24 13:43:41 +03:00
"debug" : "4.4.0" ,
2025-04-23 10:06:37 +03:00
"ejs" : "3.1.10" ,
2025-05-02 20:57:24 +00:00
"electron" : "35.2.2" ,
2025-04-23 10:06:37 +03:00
"electron-debug" : "4.1.0" ,
"electron-window-state" : "5.0.3" ,
"escape-html" : "1.0.3" ,
2025-04-22 17:37:02 +03:00
"express" : "4.21.2" ,
"express-openid-connect" : "^2.17.1" ,
"express-rate-limit" : "7.5.0" ,
"express-session" : "1.18.1" ,
2025-04-24 21:45:13 +03:00
"file-uri-to-path" : "2.0.0" ,
2025-04-23 10:06:37 +03:00
"fs-extra" : "11.3.0" ,
2025-04-22 17:37:02 +03:00
"helmet" : "8.1.0" ,
2025-04-23 10:06:37 +03:00
"html" : "1.0.0" ,
"html2plaintext" : "2.1.4" ,
2025-04-23 18:38:47 +03:00
"http-proxy-agent" : "7.0.2" ,
"https-proxy-agent" : "7.0.6" ,
2025-05-02 18:00:59 +00:00
"i18next" : "25.0.2" ,
2025-04-22 17:37:02 +03:00
"i18next-fs-backend" : "2.6.0" ,
2025-04-23 10:06:37 +03:00
"image-type" : "5.2.0" ,
"ini" : "5.0.0" ,
"is-animated" : "2.0.2" ,
2025-05-02 18:08:59 +00:00
"is-svg" : "6.0.0" ,
2025-04-23 10:06:37 +03:00
"jimp" : "1.6.0" ,
"js-yaml" : "4.1.0" ,
2025-04-22 17:37:02 +03:00
"jsdom" : "26.1.0" ,
2025-05-02 18:01:29 +00:00
"marked" : "15.0.11" ,
2025-04-23 10:06:37 +03:00
"mime-types" : "3.0.1" ,
"multer" : "1.4.5-lts.2" ,
"normalize-strings" : "1.1.1" ,
"ollama" : "0.5.14" ,
2025-05-02 19:51:27 +00:00
"openai" : "4.97.0" ,
2025-04-23 10:06:37 +03:00
"rand-token" : "1.0.1" ,
2025-04-22 17:37:02 +03:00
"safe-compare" : "1.1.4" ,
"sanitize-filename" : "1.6.3" ,
"sanitize-html" : "2.16.0" ,
2025-04-23 18:38:47 +03:00
"sax" : "1.4.1" ,
2025-04-23 10:06:37 +03:00
"serve-favicon" : "2.5.0" ,
"session-file-store" : "1.5.0" ,
"stream-throttle" : "0.1.3" ,
2025-04-22 17:37:02 +03:00
"strip-bom" : "5.0.0" ,
"striptags" : "3.2.0" ,
2025-04-23 10:06:37 +03:00
"supertest" : "7.1.0" ,
"swagger-jsdoc" : "6.2.8" ,
2025-04-22 17:37:02 +03:00
"swagger-ui-express" : "5.0.1" ,
2025-04-23 10:06:37 +03:00
"time2fa" : "^1.3.0" ,
"tmp" : "0.2.3" ,
"turndown" : "7.2.0" ,
"unescape" : "1.0.1" ,
2025-05-02 18:18:19 +00:00
"webpack" : "5.99.7" ,
2025-04-23 10:06:37 +03:00
"ws" : "8.18.1" ,
"xml2js" : "0.6.2" ,
2025-04-25 17:13:01 +03:00
"yauzl" : "3.2.0" ,
"copy-webpack-plugin" : "13.0.0"
2025-04-22 17:37:02 +03:00
} ,
2025-04-22 17:13:17 +03:00
"nx" : {
2025-04-30 22:28:25 +03:00
"name" : "server" ,
2025-04-27 11:39:02 +03:00
"implicitDependencies" : [
2025-04-30 22:28:25 +03:00
"client"
2025-04-27 11:39:02 +03:00
] ,
2025-04-22 17:13:17 +03:00
"targets" : {
"serve" : {
"executor" : "@nx/js:node" ,
"defaultConfiguration" : "development" ,
"dependsOn" : [
"build"
] ,
"options" : {
2025-04-30 22:28:25 +03:00
"buildTarget" : "server:build" ,
2025-04-22 17:13:17 +03:00
"runBuildTargetDependencies" : false
} ,
"configurations" : {
"development" : {
2025-04-30 22:28:25 +03:00
"buildTarget" : "server:build:development"
2025-04-22 17:13:17 +03:00
} ,
"production" : {
2025-04-30 22:28:25 +03:00
"buildTarget" : "server:build:production"
2025-04-22 17:13:17 +03:00
}
}
2025-04-24 13:34:03 +03:00
} ,
2025-04-27 12:22:10 +03:00
"package" : {
2025-05-02 21:29:19 +03:00
"dependsOn" : [
"build"
] ,
2025-04-27 12:22:10 +03:00
"command" : "bash apps/server/scripts/build-server.sh"
} ,
2025-04-28 22:58:00 +03:00
"start-prod" : {
2025-05-02 21:29:19 +03:00
"dependsOn" : [
"build"
] ,
2025-04-28 22:58:00 +03:00
"command" : "node apps/server/dist/main.js"
} ,
2025-04-25 09:54:10 +03:00
"docker-build" : {
"dependsOn" : [
"build"
] ,
2025-04-29 21:54:40 +03:00
"options" : {
"cwd" : "{projectRoot}"
2025-04-29 22:41:26 +03:00
} ,
"executor" : "nx:run-commands" ,
"defaultConfiguration" : "alpine" ,
"configurations" : {
"debian" : {
2025-04-30 10:01:56 +03:00
"command" : "docker build . -t triliumnext-debian -f Dockerfile"
2025-04-29 22:41:26 +03:00
} ,
"alpine" : {
2025-04-30 10:01:56 +03:00
"command" : "docker build . -t triliumnext-alpine -f Dockerfile.alpine"
2025-04-29 22:41:26 +03:00
}
2025-04-29 21:54:40 +03:00
}
2025-04-25 11:57:53 +03:00
} ,
"docker-start" : {
"dependsOn" : [
"docker-build"
] ,
2025-04-30 10:01:56 +03:00
"executor" : "nx:run-commands" ,
"defaultConfiguration" : "alpine" ,
"configurations" : {
"debian" : {
"command" : "docker run -p 8081:8080 triliumnext-debian"
} ,
"alpine" : {
"command" : "docker run -p 8081:8080 triliumnext-alpine"
}
}
2025-04-22 17:13:17 +03:00
}
}
2025-04-23 10:06:37 +03:00
}
2025-05-02 21:29:19 +03:00
}