## Description As a user, I would like to see all supported APIs and test them out. Local swagger hosted at /docs would be helpful.
40 lines
1.1 KiB
JSON
40 lines
1.1 KiB
JSON
{
|
|
"name": "@janhq/server",
|
|
"version": "0.1.3",
|
|
"main": "build/index.js",
|
|
"types": "build/index.d.ts",
|
|
"author": "Jan <service@jan.ai>",
|
|
"license": "AGPL-3.0",
|
|
"homepage": "https://jan.ai",
|
|
"description": "Use offline LLMs with your own data. Run open source models like Llama2 or Falcon on your internal computers/servers.",
|
|
"files": [
|
|
"build/**"
|
|
],
|
|
"scripts": {
|
|
"lint": "eslint . --ext \".js,.jsx,.ts,.tsx\"",
|
|
"test:e2e": "playwright test --workers=1",
|
|
"dev": "tsc --watch & node --watch build/main.js",
|
|
"build": "tsc"
|
|
},
|
|
"dependencies": {
|
|
"@fastify/cors": "^8.4.2",
|
|
"@fastify/static": "^6.12.0",
|
|
"@fastify/swagger": "^8.13.0",
|
|
"@fastify/swagger-ui": "^2.0.1",
|
|
"@janhq/core": "link:./core",
|
|
"dotenv": "^16.3.1",
|
|
"fastify": "^4.24.3",
|
|
"request": "^2.88.2",
|
|
"request-progress": "^3.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/body-parser": "^1.19.5",
|
|
"@types/npmcli__arborist": "^5.6.4",
|
|
"@typescript-eslint/eslint-plugin": "^6.7.3",
|
|
"@typescript-eslint/parser": "^6.7.3",
|
|
"eslint-plugin-react": "^7.33.2",
|
|
"run-script-os": "^1.1.6",
|
|
"typescript": "^5.2.2"
|
|
}
|
|
}
|