-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
116 lines (116 loc) · 2.82 KB
/
package.json
File metadata and controls
116 lines (116 loc) · 2.82 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
{
"name": "llamaapp",
"version": "0.1.0",
"description": "Local LLM Chat Application with llama.cpp",
"main": "src/main/main.js",
"scripts": {
"start": "electron .",
"dev": "electron . --inspect",
"rebuild": "electron-rebuild -f -w node-llama-cpp",
"clean": "rm -rf dist",
"prebuild": "npm run rebuild",
"build": "electron-builder",
"build:mac": "electron-builder --mac",
"build:dmg": "electron-builder --mac dmg",
"build:dir": "electron-builder --dir",
"package": "npm run clean && npm run rebuild && npm run build",
"package:mac": "npm run clean && npm run rebuild && npm run build:mac",
"package:dmg": "npm run clean && npm run rebuild && npm run build:dmg",
"package:dir": "npm run clean && npm run rebuild && npm run build:dir",
"test": "jest",
"lint": "eslint src/**/*.js",
"format": "prettier --write \"src/**/*.{js,json,html,css}\""
},
"keywords": [
"electron",
"llama",
"llm",
"chat",
"ai"
],
"author": "",
"license": "MIT",
"devDependencies": {
"electron": "^28.0.0",
"electron-builder": "^24.9.0",
"electron-rebuild": "^3.2.9",
"eslint": "^8.56.0",
"jest": "^29.7.0",
"prettier": "^3.1.0"
},
"dependencies": {
"better-sqlite3": "^12.4.1",
"gpt-tokenizer": "^2.1.1",
"highlight.js": "^11.9.0",
"marked": "^11.0.0",
"node-html-parser": "^7.0.1",
"node-llama-cpp": "^3.14.2",
"uuid": "^9.0.1"
},
"build": {
"appId": "com.local.llamaapp",
"productName": "LlamaApp",
"directories": {
"output": "dist"
},
"files": [
"src/**/*",
"package.json",
"node_modules/**/*"
],
"asarUnpack": [
"node_modules/node-llama-cpp/**/*",
"node_modules/better-sqlite3/**/*"
],
"mac": {
"category": "public.app-category.utilities",
"target": [
{
"target": "dmg",
"arch": [
"x64",
"arm64"
]
},
{
"target": "zip",
"arch": [
"x64",
"arm64"
]
}
],
"minimumSystemVersion": "13.0.0",
"hardenedRuntime": true,
"gatekeeperAssess": false,
"entitlements": "build/entitlements.mac.plist",
"entitlementsInherit": "build/entitlements.mac.plist",
"icon": "build/icon.icns"
},
"dmg": {
"writeUpdateInfo": false,
"sign": false,
"background": null,
"format": "ULFO",
"window": {
"width": 540,
"height": 380
},
"iconSize": 100,
"contents": [
{
"x": 130,
"y": 180,
"type": "file"
},
{
"x": 410,
"y": 180,
"type": "link",
"path": "/Applications"
}
],
"title": "LlamaApp ${version} Installer"
}
}
}