mirror of
https://github.com/BookStackApp/BookStack.git
synced 2026-02-26 11:21:00 +03:00
Allowing the vector query results and the LLM response to each come back over the same HTTP request at two different times via a somewhat standard. Uses a package for JS SSE client, since native browser client does not support over POST, which is probably important for this endpoint as we don't want crawlers or other bots abusing this via accidentally.
66 lines
2.5 KiB
JSON
66 lines
2.5 KiB
JSON
{
|
|
"private": true,
|
|
"scripts": {
|
|
"build:css:dev": "sass ./resources/sass:./public/dist --embed-sources",
|
|
"build:css:watch": "sass ./resources/sass:./public/dist --watch --embed-sources",
|
|
"build:css:production": "sass ./resources/sass:./public/dist -s compressed",
|
|
"build:js:dev": "node dev/build/esbuild.js",
|
|
"build:js:watch": "chokidar --initial \"./resources/**/*.js\" \"./resources/**/*.mjs\" \"./resources/**/*.ts\" -c \"npm run build:js:dev\"",
|
|
"build:js:production": "node dev/build/esbuild.js production",
|
|
"build": "npm-run-all --parallel build:*:dev",
|
|
"production": "npm-run-all --parallel build:*:production",
|
|
"dev": "npm-run-all --parallel watch livereload",
|
|
"watch": "npm-run-all --parallel build:*:watch",
|
|
"livereload": "livereload ./public/dist/",
|
|
"permissions": "chown -R $USER:$USER bootstrap/cache storage public/uploads",
|
|
"lint": "eslint \"resources/**/*.js\" \"resources/**/*.mjs\"",
|
|
"fix": "eslint --fix \"resources/**/*.js\" \"resources/**/*.mjs\"",
|
|
"ts:lint": "tsc --noEmit",
|
|
"test": "jest"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^9.21.0",
|
|
"@lezer/generator": "^1.7.2",
|
|
"@types/markdown-it": "^14.1.2",
|
|
"@types/sortablejs": "^1.15.8",
|
|
"chokidar-cli": "^3.0",
|
|
"esbuild": "^0.25.0",
|
|
"eslint": "^9.21.0",
|
|
"eslint-plugin-import": "^2.31.0",
|
|
"jest": "^29.7.0",
|
|
"jest-environment-jsdom": "^29.7.0",
|
|
"livereload": "^0.9.3",
|
|
"npm-run-all": "^4.1.5",
|
|
"sass": "^1.85.0",
|
|
"ts-jest": "^29.2.6",
|
|
"ts-node": "^10.9.2",
|
|
"typescript": "5.7.*"
|
|
},
|
|
"dependencies": {
|
|
"@codemirror/commands": "^6.8.0",
|
|
"@codemirror/lang-css": "^6.3.1",
|
|
"@codemirror/lang-html": "^6.4.9",
|
|
"@codemirror/lang-javascript": "^6.2.3",
|
|
"@codemirror/lang-json": "^6.0.1",
|
|
"@codemirror/lang-markdown": "^6.3.2",
|
|
"@codemirror/lang-php": "^6.0.1",
|
|
"@codemirror/lang-xml": "^6.1.0",
|
|
"@codemirror/language": "^6.10.8",
|
|
"@codemirror/legacy-modes": "^6.4.3",
|
|
"@codemirror/state": "^6.5.2",
|
|
"@codemirror/theme-one-dark": "^6.1.2",
|
|
"@codemirror/view": "^6.36.3",
|
|
"@lezer/highlight": "^1.2.1",
|
|
"@ssddanbrown/codemirror-lang-smarty": "^1.0.0",
|
|
"@ssddanbrown/codemirror-lang-twig": "^1.0.0",
|
|
"@types/jest": "^29.5.14",
|
|
"codemirror": "^6.0.1",
|
|
"eventsource-client": "^1.1.4",
|
|
"idb-keyval": "^6.2.1",
|
|
"markdown-it": "^14.1.0",
|
|
"markdown-it-task-lists": "^2.1.1",
|
|
"snabbdom": "^3.6.2",
|
|
"sortablejs": "^1.15.6"
|
|
}
|
|
}
|