forked from huggingface/responses.js
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
111 lines (111 loc) · 2.84 KB
/
package.json
File metadata and controls
111 lines (111 loc) · 2.84 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
{
"name": "@huggingface/responses.js",
"packageManager": "pnpm@10.10.0",
"version": "0.1.0",
"pnpm": {
"overrides": {
"body-parser": ">=2.2.2",
"qs": ">=6.14.2",
"diff": ">=8.0.3",
"hono": ">=4.12.7",
"express-rate-limit": ">=8.2.2",
"@hono/node-server": ">=1.19.10",
"minimatch": ">=10.2.3",
"@modelcontextprotocol/sdk>ajv": ">=8.18.0",
"rollup": ">=4.59.0",
"serialize-javascript": ">=7.0.4 <7.0.5",
"flatted": ">=3.4.2",
"picomatch": ">=4.0.4",
"yaml": ">=2.8.3",
"brace-expansion": ">=5.0.5",
"path-to-regexp": ">=8.4.0",
"express>path-to-regexp": "0.1.13"
}
},
"type": "module",
"description": "Server for handling AI responses",
"repository": "https://github.com/huggingface/huggingface.js.git",
"publishConfig": {
"access": "public"
},
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"require": "./dist/index.js",
"import": "./dist/index.mjs"
}
},
"engines": {
"node": ">=20"
},
"source": "index.ts",
"scripts": {
"build": "tsup src/*.ts --format cjs,esm --clean && tsc --emitDeclarationOnly --declaration",
"check": "tsc",
"dev": "tsx watch src/index.ts",
"format": "prettier --write .",
"format:check": "prettier --check .",
"lint": "eslint --quiet --fix .",
"lint:check": "eslint .",
"prepublishOnly": "pnpm run build",
"prepare": "pnpm run build",
"start": "node dist/index.js",
"example": "node examples/_run.js",
"demo:build": "cd demo && npm run build",
"demo:dev": "cd demo && npm run dev",
"demo:install": "cd demo && npm install",
"demo:lint": "cd demo && npm run lint",
"demo:format": "cd demo && npm run format",
"demo:start": "cd demo && npm run start",
"deploy:spaces": "./push_to_space.sh",
"test": "vitest run",
"test:watch": "vitest",
"test:integration": "mocha --timeout 20000 \"tests/**/*.test.js\"",
"test:coverage": "vitest run --coverage"
},
"files": [
"src",
"dist",
"tsconfig.json"
],
"keywords": [
"huggingface",
"ai",
"llm",
"responses-api",
"server"
],
"author": "Hugging Face",
"license": "MIT",
"dependencies": {
"@modelcontextprotocol/sdk": "^1.26.0",
"@opentelemetry/api": "^1.9.0",
"express": "^4.22.1",
"openai": "^5.8.2",
"pino": "^10.3.1",
"pino-http": "^11.0.0",
"undici": "^7.24.0",
"zod": "^3.25.71"
},
"devDependencies": {
"@eslint/js": "^9.30.1",
"@types/express": "^4.17.23",
"@types/node": "^25.3.3",
"@typescript-eslint/eslint-plugin": "^8.54.0",
"@typescript-eslint/parser": "^8.54.0",
"@vitest/coverage-v8": "^4.0.18",
"eslint": "^9.39.2",
"eslint-config-prettier": "^10.1.5",
"eslint-plugin-prettier": "^5.5.1",
"mocha": "^11.7.5",
"pino-pretty": "^13.1.3",
"prettier": "^3.6.2",
"tsup": "^8.5.0",
"tsx": "^4.20.3",
"typescript": "^5.8.3",
"vitest": "^4.0.18"
}
}