-
Notifications
You must be signed in to change notification settings - Fork 71
Expand file tree
/
Copy pathpackage.json
More file actions
91 lines (91 loc) · 3.88 KB
/
Copy pathpackage.json
File metadata and controls
91 lines (91 loc) · 3.88 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
{
"name": "@sap-ux/fiori-mcp-server",
"description": "SAP Fiori - Model Context Protocol (MCP) server",
"version": "0.3.3",
"keywords": [
"SAP Fiori tools",
"SAP Fiori elements",
"SAP Fiori freestyle",
"MCP",
"AI"
],
"repository": {
"type": "git",
"url": "https://github.com/SAP/open-ux-tools.git",
"directory": "packages/fiori-mcp-server"
},
"bugs": {
"url": "https://github.com/SAP/open-ux-tools/issues?q=is%3Aopen+is%3Aissue+label%3Abug+label%3Afiori-mcp-server"
},
"license": "Apache-2.0",
"main": "dist/index.js",
"scripts": {
"build-esbuild-base": "esbuild --bundle --platform=node --target=node20 --outdir=dist --external:vscode --external:@lancedb/lancedb --external:@xenova/transformers --external:@sap-ux/fiori-docs-embeddings --main-fields=module,main src/index.ts",
"build-dev": "pnpm run build-esbuild-base --sourcemap=inline",
"build-compile": "tsc --noEmit",
"build-bundle": "pnpm run build-esbuild-base --minify",
"build": "npm-run-all build-compile build-bundle",
"watch": "tsc --watch",
"bundle": "npm-run-all build tgz:package tgz:rename",
"tgz:package": "pnpm pack",
"tgz:rename": "node -e \"const fs=require('fs'), p=require('./package.json'), d=new Date().toISOString().split('T')[0], oldName=p.name.startsWith('@') ? `${p.name.replace('@', '').replace('/', '-')}-${p.version}.tgz` : `${p.name}-${p.version}.tgz`; fs.renameSync(oldName, `${oldName.replace('.tgz','')}-${d}.tgz`)\"",
"clean": "rimraf --glob dist test/test-output *.tsbuildinfo",
"format": "prettier --write '**/*.{js,json,ts,yaml,yml}' --ignore-path ../../.prettierignore",
"lint": "eslint . --ext .ts",
"lint:fix": "eslint . --ext .ts --fix",
"test": "jest --ci --forceExit --detectOpenHandles --colors",
"inspector": "npx @modelcontextprotocol/inspector node dist/index.js",
"view:integration": "promptfoo view -y",
"test:integration:once": "promptfoo eval --config test/integration/scenarios/promptfooconfig.yaml --max-concurrency 1 --repeat 1 --output reports/integration.txt",
"test:integration:multiple": "npm run test:promptfoo -- --repeat 5"
},
"files": [
"LICENSE",
"dist",
"!dist/**/*.map"
],
"bin": {
"fiori-mcp": "./dist/index.js"
},
"devDependencies": {
"npm-run-all2": "8.0.4",
"esbuild": "0.25.6",
"@modelcontextprotocol/sdk": "1.17.5",
"@sap/ux-specification": "1.136.6",
"@sap-ux/project-access": "workspace:*",
"@sap-ux/fiori-annotation-api": "workspace:*",
"@sap-ux/annotation-converter": "0.10.3",
"@sap-ux/fiori-docs-embeddings": "workspace:*",
"@sap-ux/i18n": "workspace:*",
"@sap-ux/logger": "workspace:*",
"@sap-ux/odata-annotation-core-types": "workspace:*",
"@sap-ux/odata-entity-model": "workspace:*",
"@sap-ux/text-document-utils": "workspace:*",
"@types/diff": "5.0.9",
"@types/json-schema": "7.0.5",
"@types/mem-fs": "1.1.2",
"@types/mem-fs-editor": "7.0.1",
"@sap-ux/btp-utils": "workspace:*",
"@sap-ux/feature-toggle": "workspace:*",
"@sap-ux/nodejs-utils": "workspace:*",
"@sap-ux/telemetry": "workspace:*",
"i18next": "25.3.0",
"os-name": "4.0.1",
"zod": "4.1.5",
"@sap-ai-sdk/foundation-models": "2.0.0",
"@sap-ai-sdk/langchain": "2.0.0",
"promptfoo": "0.118.6",
"@langchain/mcp-adapters": "0.6.0",
"@langchain/core": "0.3.75"
},
"dependencies": {
"@sap-ux/fiori-docs-embeddings": "*",
"@xenova/transformers": "2.17.2",
"@lancedb/lancedb": "0.22.0",
"mem-fs": "2.1.0",
"mem-fs-editor": "9.4.0"
},
"engines": {
"node": ">=20.x"
}
}