-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
139 lines (139 loc) · 4.88 KB
/
package.json
File metadata and controls
139 lines (139 loc) · 4.88 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
127
128
129
130
131
132
133
134
135
136
137
138
139
{
"name": "dram-desktop",
"version": "0.1.10",
"description": "Secure local-first desktop layer for OpenClaw featuring voice, canvas, and hardened security guardrails.",
"type": "module",
"main": "runtime/main/index-wrapper.cjs",
"workspaces": [
"packages/*"
],
"engines": {
"node": ">=18.0.0"
},
"author": {
"name": "DRAM",
"email": "jeremy8776@gmail.com"
},
"license": "MIT",
"homepage": "https://github.com/Jeremy8776/DRAM#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/Jeremy8776/DRAM.git"
},
"bugs": {
"url": "https://github.com/Jeremy8776/DRAM/issues"
},
"keywords": [
"ai-assistant",
"desktop-ai",
"electron",
"openclaw",
"local-first",
"secure-ai",
"multimodel",
"ai-chat",
"voice-assistant",
"coding-canvas"
],
"scripts": {
"start": "npm run build:runtime && electron .",
"dev": "npm run build:runtime && electron . --dev",
"dev:fresh": "node scripts/dev-fresh.cjs",
"dev:wizard": "node scripts/dev-wizard.cjs",
"build:runtime": "node scripts/build-runtime.cjs",
"build": "npm run build:runtime && electron-builder",
"build:win": "npm run build:runtime && electron-builder --win",
"build:mac": "npm run build:runtime && electron-builder --mac",
"build:linux": "npm run build:runtime && electron-builder --linux",
"build:with-engine": "npm run build:runtime && npm run bundle-engine && electron-builder --config.extraResources[0].from=resources/engine --config.extraResources[0].to=engine",
"build:win:with-engine": "npm run build:runtime && npm run bundle-engine && electron-builder --win --config.extraResources[0].from=resources/engine --config.extraResources[0].to=engine",
"build:mac:with-engine": "npm run build:runtime && npm run bundle-engine && electron-builder --mac --config.extraResources[0].from=resources/engine --config.extraResources[0].to=engine",
"build:linux:with-engine": "npm run build:runtime && npm run bundle-engine && electron-builder --linux --config.extraResources[0].from=resources/engine --config.extraResources[0].to=engine",
"verify:installers": "node scripts/verify-installers.cjs",
"collect:release-assets": "node scripts/collect-release-assets.cjs",
"bundle-engine": "node scripts/bundle-engine.cjs",
"check:ipc": "node scripts/audit-ipc.cjs",
"check:loc": "node scripts/check-file-loc.cjs --root src --root packages/dram-plugin/src --warn 500 --fail 700",
"check:loc:desktop": "node scripts/check-file-loc.cjs --root src --warn 500 --fail 700",
"typecheck": "tsc -p tsconfig.json --noEmit",
"typecheck:strict": "tsc -p tsconfig.strict.json --noEmit",
"check:pretag": "node scripts/pretag-check.cjs",
"test:desktop": "node test/desktop-security.test.js && node test/path-guards.test.js",
"test:ipc": "npm run check:ipc && node test/system-ipc.test.js && node test/skills-ipc.test.js && node test/plugins-ipc.test.js",
"test": "npm run build:runtime && npm run test:desktop && npm run test:ipc",
"setup": "python -m pip install openai-whisper",
"lint": "eslint src/",
"audit": "npm audit --production"
},
"dependencies": {
"chokidar": "^4.0.3",
"electron-updater": "^6.3.0",
"png-to-icns": "^1.0.0",
"ws": "^8.19.0"
},
"devDependencies": {
"electron": "^35.7.5",
"electron-builder": "^25.0.0",
"eslint": "^9.0.0"
},
"build": {
"appId": "com.dram.desktop",
"productName": "DRAM",
"directories": {
"output": "dist",
"buildResources": "build"
},
"files": [
"runtime/**/*",
"resources/**/*",
"!resources/engine/**",
"package.json"
],
"asar": true,
"publish": [
{
"provider": "github",
"owner": "Jeremy8776",
"repo": "DRAM"
}
],
"win": {
"target": [
"nsis",
"portable"
],
"icon": "resources/platform/windows/icon.ico",
"requestedExecutionLevel": "asInvoker"
},
"nsis": {
"artifactName": "${productName}-${version}-setup-${arch}.${ext}",
"oneClick": false,
"allowToChangeInstallationDirectory": true,
"perMachine": false,
"deleteAppDataOnUninstall": false,
"installerHeader": "resources/platform/windows/installer-header.bmp",
"installerSidebar": "resources/platform/windows/installer-sidebar.bmp",
"uninstallerSidebar": "resources/platform/windows/installer-sidebar.bmp"
},
"portable": {
"artifactName": "${productName}-${version}-portable-${arch}.${ext}"
},
"mac": {
"target": [
"dmg",
"zip"
],
"icon": "resources/platform/macos/icon.icns",
"category": "public.app-category.productivity"
},
"linux": {
"target": [
"AppImage",
"deb"
],
"icon": "resources/png/icon-256.png",
"category": "Utility",
"maintainer": "DRAM <jeremy8776@gmail.com>"
}
}
}