-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
59 lines (59 loc) · 1.73 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
{
"name": "node-llama-cpp-project",
"private": true,
"version": "0.0.0",
"main": "./dist/index.js",
"type": "module",
"types": "./dist/index.d.ts",
"files": [
"dist/",
"package.json",
"README.md"
],
"exports": {
".": {
"import": "./dist/index.js",
"node": "./dist/index.js",
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
},
"engines": {
"node": ">=18.0.0"
},
"scripts": {
"postinstall": "npm run models:pull",
"models:pull": "node-llama-cpp pull --dir ./models \"https://huggingface.co/mradermacher/Meta-Llama-3.1-8B-Instruct-GGUF/resolve/main/Meta-Llama-3.1-8B-Instruct.Q4_K_M.gguf\"",
"start": "vite-node ./src/server.ts",
"server": "nodemon",
"start:build": "node ./dist/index.ts",
"prebuild": "rimraf ./dist ./tsconfig.tsbuildinfo",
"build": "tsc --build tsconfig.json --force",
"lint": "npm run lint:eslint",
"lint:eslint": "eslint --ext .js --ext .ts --report-unused-disable-directives .",
"format": "npm run lint:eslint -- --fix",
"clean": "rm -rf ./node_modules ./dist ./tsconfig.tsbuildinfo ./models"
},
"dependencies": {
"@google-cloud/text-to-speech": "^5.6.0",
"chalk": "^5.3.0",
"dotenv": "^16.4.5",
"express": "^4.21.0",
"node-llama-cpp": "^3.0.3",
"nodemon": "^3.1.7"
},
"devDependencies": {
"@types/express": "^5.0.0",
"@types/node": "^22.5.5",
"@typescript-eslint/eslint-plugin": "^7.12.0",
"@typescript-eslint/parser": "^7.12.0",
"eslint": "^8.46.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsdoc": "^46.9.0",
"eslint-plugin-n": "^17.8.1",
"rimraf": "^6.0.1",
"tslib": "^2.7.0",
"typescript": "^5.6.2",
"vite-node": "^2.1.1"
}
}