-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
119 lines (119 loc) · 3.44 KB
/
package.json
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
112
113
114
115
116
117
118
119
{
"name": "inference-server",
"version": "1.0.0-beta.24",
"description": "Libraries and server to build AI applications. Adapters to various native bindings allowing local inference. Integrate it with your application, or use as a microservice.",
"main": "dist/index.js",
"source": "src/index.ts",
"types": "dist/index.d.ts",
"type": "module",
"license": "MIT",
"bin": {
"infs": "./dist/cli/index.js",
"inference-server": "./dist/cli/index.js"
},
"repository": "github:iimez/inference-server",
"bugs": {
"url": "https://github.com/iimez/inference-server/issues"
},
"scripts": {
"upgrade": "npx npm-check-updates -i",
"reinstall": "rimraf node_modules && npm install",
"clean": "rimraf dist",
"download-testmodels": "infs prepare ./tests/testmodels.config.js",
"prebuild": "npm run clean",
"build": "tsc -p tsconfig.release.json && tsc-alias -p tsconfig.release.json",
"test": "vitest --run",
"test:pool": "vitest tests/pool.test.ts",
"test:openai": "vitest tests/openai.test.ts",
"test:gpt4all": "vitest tests/engines/gpt4all.test.ts",
"test:llama": "vitest tests/engines/node-llama-cpp.test.ts",
"test:transformers": "vitest tests/engines/transformers.test.ts",
"test:sd": "vitest tests/engines/stable-diffusion.test.ts",
"test:experiments": "vitest tests/engines/experiments.test.ts",
"test:server": "vitest tests/server.test.ts",
"dev": "tsc -p tsconfig.release.json && node ./dist/standalone.js --enable-source-maps",
"watch": "concurrently -k -n \"tsc,srv\" \"tsc -p tsconfig.release.json --watch --preserveWatchOutput --assumeChangesOnlyAffectDirectDependencies\" \"node --watch ./dist/standalone.js --enable-source-maps\"",
"start": "cross-env NODE_ENV=production node dist/standalone.js"
},
"keywords": [
"local ai",
"inference server",
"model pool",
"gpt4all",
"node-llama-cpp",
"transformers.js",
"llama.cpp",
"chatbot",
"bot",
"llm",
"ai",
"nlp",
"openai api"
],
"engines": {
"node": ">=18.16.0"
},
"imports": {
"#package/*": "./dist/*"
},
"peerDependencies": {
"@huggingface/transformers": ">=3.0.0",
"@lmagder/node-stable-diffusion-cpp": ">=0.1.6",
"gpt4all": ">=4.0.0",
"node-llama-cpp": ">=3.0.0"
},
"peerDependenciesMeta": {
"node-llama-cpp": {
"optional": true
},
"gpt4all": {
"optional": true
},
"@huggingface/transformers": {
"optional": true
},
"@lmagder/node-stable-diffusion-cpp": {
"optional": true
}
},
"dependencies": {
"@alexanderolsen/libsamplerate-js": "^2.1.2",
"@huggingface/gguf": "^0.1.12",
"ajv": "^8.17.1",
"audio-decode": "^2.2.2",
"chalk": "^5.3.0",
"cors": "^2.8.5",
"express": "^4.21.1",
"ipull": "^3.9.1",
"micromatch": "^4.0.8",
"nanoid": "^5.0.8",
"p-queue": "^8.0.1",
"pretty-bytes": "^6.1.1",
"pretty-ms": "^9.1.0",
"proper-lockfile": "^4.1.2",
"sharp": "^0.33.5",
"wavefile": "^11.0.0",
"yargs": "^17.7.2"
},
"devDependencies": {
"@huggingface/transformers": "^3.0.2",
"@lmagder/node-stable-diffusion-cpp": "^0.1.7",
"@types/cors": "^2.8.17",
"@types/express": "^5.0.0",
"@types/micromatch": "^4.0.9",
"@types/node": "^22.9.0",
"@types/proper-lockfile": "^4.1.4",
"@types/supertest": "^6.0.2",
"@types/yargs": "^17.0.33",
"concurrently": "^9.1.0",
"cross-env": "^7.0.3",
"gpt4all": "^4.0.0",
"node-llama-cpp": "^3.2.0",
"openai": "^4.71.1",
"supertest": "^7.0.0",
"tsc-alias": "^1.8.10",
"typescript": "^5.6.3",
"vite-tsconfig-paths": "^5.1.0",
"vitest": "^2.1.4"
}
}