Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
93 lines (93 loc) · 2.26 KB
/
Copy pathpackage.json
File metadata and controls
93 lines (93 loc) · 2.26 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
{
"name": "@electron/llm",
"version": "0.0.0-development",
"description": "Load and use an LLM model directly in Electron. Experimental.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"workspaces": [
"end-to-end"
],
"files": [
"dist",
"README.md"
],
"publishConfig": {
"provenance": true
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./main": {
"types": "./dist/main/index.d.ts",
"default": "./dist/main/index.js"
},
"./renderer": {
"types": "./dist/renderer/index.d.ts",
"default": "./dist/renderer/index.js"
},
"./package.json": "./package.json"
},
"scripts": {
"tsc": "tsc --build",
"lint": "oxfmt --check . && oxlint",
"lint:fix": "oxfmt --write . && oxlint --fix",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"test:e2e": "npm run test:e2e:tsc && npm run test:e2e:rebuild && npm run test:e2e:run",
"test:e2e:tsc": "tsc -p end-to-end/tsconfig.json",
"test:e2e:rebuild": "electron-rebuild",
"test:e2e:run": "electron end-to-end/dist/main.js",
"prepack": "npm run tsc",
"prepare": "husky"
},
"lint-staged": {
"*.{js,ts}": [
"oxfmt --write",
"oxlint --fix"
],
"*.{json,html}": [
"oxfmt --write"
]
},
"author": "Electron Community",
"keywords": [
"electron",
"llm",
"ai",
"chat",
"chatbot",
"chatgpt",
"llama",
"llama.cpp"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/electron/llm.git"
},
"dependencies": {
"node-llama-cpp": "^3.7.0"
},
"devDependencies": {
"@electron/rebuild": "^4.0.4",
"@tsconfig/node22": "^22.0.0",
"@vitest/coverage-v8": "^4.0.18",
"electron": "^42.11.3",
"husky": "^9.1.7",
"lint-staged": "^17.4.1",
"oxfmt": "^0.71.0",
"oxlint": "^1.59.0",
"oxlint-tsgolint": "^0.20.0",
"typescript": "^6.0.2",
"vitest": "^4.0.18"
},
"packageManager": "yarn@4.10.3+sha512.c38cafb5c7bb273f3926d04e55e1d8c9dfa7d9c3ea1f36a4868fa028b9e5f72298f0b7f401ad5eb921749eb012eb1c3bb74bf7503df3ee43fd600d14a018266f",
"dependenciesMeta": {
"electron": {
"built": true
}
}
}