-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
126 lines (126 loc) · 3.15 KB
/
Copy pathpackage.json
File metadata and controls
126 lines (126 loc) · 3.15 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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
{
"name": "node-llama-cpp",
"version": "3.18.2-gemma.1",
"description": "Trimmed node-llama-cpp build (Gemma + macOS arm64 only) for the gemma-llama server.",
"main": "./dist/index.js",
"type": "module",
"types": "./dist/index.d.ts",
"bin": {
"node-llama-cpp": "dist/cli/cli.js",
"nlc": "dist/cli/cli.js"
},
"files": [
"dist/",
"llama/",
"package.json",
"README.md",
"LICENSE"
],
"exports": {
".": {
"import": "./dist/index.js",
"node": "./dist/index.js",
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./commands": {
"import": "./dist/commands.js",
"node": "./dist/commands.js",
"types": "./dist/commands.d.ts",
"default": "./dist/commands.js"
},
"./commands.js": {
"import": "./dist/commands.js",
"node": "./dist/commands.js",
"types": "./dist/commands.d.ts",
"default": "./dist/commands.js"
}
},
"engines": {
"node": ">=20.0.0"
},
"scripts": {
"prebuild": "rimraf ./dist ./tsconfig.tsbuildinfo",
"build": "tsc --build tsconfig.json --force",
"postinstall": "node ./dist/cli/cli.js postinstall",
"cmake-js-llama": "cd llama && cmake-js",
"test:typescript": "tsc --noEmit --project tsconfig.json"
},
"repository": {
"type": "git",
"url": "git+https://github.com/withcatai/node-llama-cpp.git"
},
"keywords": [
"llama",
"llama.cpp",
"gguf",
"gemma",
"metal",
"local"
],
"author": {
"name": "Gilad S.",
"url": "https://github.com/giladgd"
},
"license": "MIT",
"preferUnplugged": true,
"bugs": {
"url": "https://github.com/withcatai/node-llama-cpp/issues"
},
"homepage": "https://node-llama-cpp.withcat.ai",
"devDependencies": {
"@types/async-retry": "^1.4.9",
"@types/bytes": "^3.1.5",
"@types/cross-spawn": "^6.0.6",
"@types/fs-extra": "^11.0.4",
"@types/node": "^20.19.33",
"@types/proper-lockfile": "^4.1.4",
"@types/semver": "^7.7.1",
"@types/validate-npm-package-name": "^4.0.2",
"@types/which": "^3.0.4",
"@types/yargs": "^17.0.33",
"electron": "^40.4.1",
"rimraf": "^6.1.3",
"tslib": "^2.8.1",
"typescript": "^5.9.3"
},
"dependencies": {
"@huggingface/jinja": "^0.5.6",
"async-retry": "^1.3.3",
"bytes": "^3.1.2",
"chalk": "^5.6.2",
"chmodrp": "^1.0.2",
"cmake-js": "^8.0.0",
"cross-spawn": "^7.0.6",
"env-var": "^7.5.0",
"filenamify": "^6.0.0",
"fs-extra": "^11.3.4",
"ignore": "^7.0.4",
"ipull": "^3.9.5",
"is-unicode-supported": "^2.1.0",
"lifecycle-utils": "^3.1.1",
"log-symbols": "^7.0.1",
"nanoid": "^5.1.6",
"node-addon-api": "^8.6.0",
"ora": "^9.3.0",
"pretty-ms": "^9.3.0",
"proper-lockfile": "^4.1.2",
"semver": "^7.7.1",
"simple-git": "^3.33.0",
"slice-ansi": "^8.0.0",
"stdout-update": "^4.0.1",
"strip-ansi": "^7.2.0",
"validate-npm-package-name": "^7.0.2",
"which": "^6.0.1",
"yargs": "^17.7.2"
},
"peerDependencies": {
"typescript": ">=5.0.0"
},
"peerDependenciesMeta": {
"typescript": {
"optional": true
}
},
"optionalDependencies": {}
}