-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpackage.json
More file actions
201 lines (201 loc) · 9.76 KB
/
Copy pathpackage.json
File metadata and controls
201 lines (201 loc) · 9.76 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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
{
"name": "redstring",
"private": true,
"version": "0.15.5",
"bin": {
"redstring": "cli/redstring.js"
},
"author": "Grant Eubanks <grant.w.eubanks@gmail.com>",
"description": "Redstring - A semantic knowledge graph application with visual node-based interface, RDF integration, and AI-powered knowledge discovery",
"license": "MIT",
"type": "module",
"repository": {
"type": "git",
"url": "git+https://github.com/theredstring/redstring.git"
},
"main": "electron/main.cjs",
"scripts": {
"bridge": "node scripts/bridge-restart.js",
"bridge:start": "node bridge-daemon.js",
"bridge:restart": "node scripts/bridge-restart.js",
"bridge:kill": "node scripts/bridge-restart.js --kill-only",
"agent-server": "node agent-server.js",
"agent-server:start": "node agent-server.js",
"wizard": "node wizard-server.js",
"wizard:start": "node wizard-server.js",
"oauth": "node oauth-server.js",
"oauth:start": "node oauth-server.js",
"bump-version": "node scripts/bump-version.js",
"dev": "vite",
"electron:dev": "concurrently -k \"npm run oauth\" \"npm run dev\" \"wait-on http://localhost:4001 && cross-env NODE_ENV=development electron .\"",
"electron:dev:session": "concurrently -k \"npm run oauth\" \"npm run dev\" \"wait-on http://localhost:4001 && cross-env NODE_ENV=development electron . --session=${SESSION:-default}\"",
"bundle:agent": "esbuild agent-server.js --bundle --platform=node --format=cjs --outfile=agent-server.bundle.cjs --log-override:empty-import-meta=silent",
"electron:build": "npm run build && npm run bundle:agent && electron-builder",
"electron:build:mac": "npm run build && npm run bundle:agent && electron-builder --mac",
"electron:build:win": "npm run build && npm run bundle:agent && electron-builder --win",
"electron:build:linux": "npm run build && npm run bundle:agent && electron-builder --linux",
"free:4000": "node scripts/free-port-4000.js",
"build": "vite build && node scripts/security/third-party-notices.mjs --out dist/THIRD_PARTY_NOTICES.txt",
"build:cap": "vite build --mode capacitor && node scripts/security/third-party-notices.mjs --capacitor --out dist/THIRD_PARTY_NOTICES.txt",
"build:profile": "vite build --mode profile",
"preview:profile": "vite preview --mode profile --port 4830 --strictPort",
"perf:canvas": "node scripts/perf-canvas.mjs",
"cap:sync": "npm run build:cap && npx cap sync ios",
"cap:ios": "npm run cap:sync && npx cap open ios",
"cap:sync:android": "npm run build:cap && npx cap sync android",
"cap:android": "./scripts/android-run.sh",
"cap:android:fast": "./scripts/android-run.sh --no-web",
"lint": "eslint .",
"preview": "vite preview",
"start": "node deployment/app-semantic-server.js",
"prod": "npm run build && npm start",
"prod:docker": "docker build -f deployment/docker/Dockerfile -t redstring . && docker run -p 4000:4000 -p 3002:3002 redstring",
"prod:compose": "cd deployment/docker && docker-compose up -d",
"deploy:gcp:prod": "./deployment/gcp/deploy_prod.sh",
"deploy:gcp:prod:local": "./deployment/gcp/deploy_prod_local.sh",
"deploy:gcp:test": "./deployment/gcp/deploy_test.sh",
"deploy:gcp:oauth:prod": "./deployment/gcp/deploy_oauth_prod.sh",
"deploy:gcp:oauth:test": "./deployment/gcp/deploy_oauth_test.sh",
"setup:gcp": "./deployment/gcp/setup.sh",
"test": "vitest",
"test:ci": "node scripts/check-known-failures.mjs",
"lint:undef": "node scripts/check-undefined-names.mjs",
"test:headless": "vitest run test/headless/",
"bench:layout": "LAYOUT_BENCH=1 vitest run test/layout-bench",
"test:e2e": "bash test/e2e/daemon-smoke.sh && bash test/e2e/cli-roundtrip.sh && node test/e2e/mcp-daemon-smoke.mjs",
"test:canvas": "playwright test",
"test:canvas:headed": "playwright test --headed --workers=1",
"fixtures:canvas": "node scripts/gen-stress-fixture.mjs",
"fixtures:canvas:check": "node scripts/gen-stress-fixture.mjs --check",
"test:format": "vitest test/formats/ --run",
"test:consistency": "vitest test/formats/consistency.test.js --run",
"test:roundtrip": "vitest test/formats/roundtrip.test.js --run",
"test:property": "vitest test/formats/property.test.js --run",
"schema:report": "node scripts/schema-report.js",
"test:tools": "vitest run test/tools-health.test.js",
"test:mcp": "node test/ai/test-ai-chat.js",
"test:bridge": "node test/ai/test-bridge-direct.js",
"test:agent:add-node": "node test/ai/test-agent-add-node.js",
"test:pending": "node test/ai/test-pending-actions-flow.js",
"test:wizard": "node test/ai/wizard-e2e.js",
"test:wizard:auto": "node test/ai/wizard-e2e.js --auto-discover",
"test:wizard:dry": "node test/ai/wizard-e2e.js --dry-run",
"test:wizard:e2e": "node test/ai/run-wizard-e2e.js",
"test:ai:all": "npm run test:tools && npm run test:mcp && npm run test:bridge && npm run test:agent:add-node && npm run test:pending",
"ai-connect": "node scripts/ai-connection-wizard-simple.js",
"ai-wizard": "node scripts/ai-connection-wizard-simple.js",
"server": "node deployment/app-semantic-server.js",
"dev:full": "concurrently \"npm run oauth\" \"npm run server\" \"npm run dev\"",
"mcp": "PORT=3003 REDSTRING_MCP_HTTP=1 node redstring-mcp-server.js",
"dev:local": "VITE_DEV_PORT=4001 VITE_API_TARGET=http://localhost:4100 PORT=4100 concurrently \"PORT=3003 npm run mcp\" \"npm run bridge\" \"PORT=4100 npm run server\" \"npm run dev -- --port 4001\"",
"setup:oauth": "node scripts/setup-oauth.js",
"docs:generate": "node scripts/generate-docs.js",
"docs:dev": "npm run docs:generate && cd docs && npx mintlify dev",
"docs:build": "npm run docs:generate && cd docs && npx mintlify build",
"release": "./scripts/publish-release.sh",
"release:patch": "./scripts/publish-release.sh patch",
"release:minor": "./scripts/publish-release.sh minor",
"release:major": "./scripts/publish-release.sh major",
"release:dry": "./scripts/publish-release.sh --dry-run",
"cf:dev": "npm run build && wrangler pages dev dist --compatibility-date=2024-12-01 --compatibility-flag=nodejs_compat",
"cf:deploy:dev": "./scripts/cf-deploy.sh dev",
"cf:deploy:prod": "./scripts/cf-deploy.sh prod",
"cf:deploy:staging": "./scripts/cf-deploy.sh dev",
"cf:tail:dev": "wrangler pages deployment tail --project-name=redstring-staging",
"cf:tail:prod": "wrangler pages deployment tail --project-name=redstring-prod",
"cf:tail:staging": "wrangler pages deployment tail --project-name=redstring-staging",
"security:scan": "node scripts/security/secret-scan.mjs",
"security:scan:history": "node scripts/security/secret-scan.mjs --history",
"security:test": "vitest run test/security",
"security:audit": "node scripts/security/audit-gate.mjs",
"security:dist": "node scripts/security/check-dist.mjs",
"security:csp": "playwright test -c test/security/renderer/playwright.csp.config.js",
"security:notices": "node scripts/security/third-party-notices.mjs --out dist/THIRD_PARTY_NOTICES.txt",
"security:all": "npm run security:scan && npm run security:test && npm run security:audit && npm run build && npm run security:dist && npm run security:csp"
},
"dependencies": {
"@aparajita/capacitor-secure-storage": "^7.1.6",
"@capacitor/android": "^7.6.9",
"@capacitor/app": "^7.1.2",
"@capacitor/browser": "^7.0.5",
"@capacitor/core": "^7.6.8",
"@capacitor/filesystem": "^7.1.8",
"@capacitor/haptics": "^7.0.5",
"@capacitor/ios": "^7.6.8",
"@chenglou/pretext": "^0.0.5",
"@modelcontextprotocol/sdk": "^1.31.0",
"@octokit/rest": "^22.0.0",
"@rdfjs/parser-jsonld": "^2.1.3",
"@rdfjs/parser-n3": "^2.1.0",
"@types/uuid": "^10.0.0",
"cors": "^2.8.5",
"dompurify": "^3.4.16",
"dotenv": "^17.2.1",
"electron-log": "^5.4.3",
"electron-updater": "^6.8.9",
"express": "^4.22.3",
"express-rate-limit": "^8.5.2",
"framer-motion": "^11.5.4",
"heic-to": "^1.5.2",
"hono": "^4.13.11",
"immer": "^10.1.1",
"jose": "^5.9.6",
"jsonld": "^9.0.0",
"jsonwebtoken": "^9.0.2",
"lucide-react": "^0.454.0",
"n3": "^1.26.0",
"node-fetch": "^3.3.2",
"papaparse": "^5.5.3",
"pdfjs-dist": "^5.5.207",
"rdflib": "^2.2.37",
"react": "^18.3.1",
"react-contenteditable": "^3.3.7",
"react-dnd": "^16.0.1",
"react-dnd-html5-backend": "^16.0.1",
"react-dnd-multi-backend": "^9.0.0",
"react-dnd-touch-backend": "^16.0.1",
"react-dom": "^18.3.1",
"react-virtuoso": "^4.18.3",
"sparql-http-client": "^3.0.1",
"use-debounce": "^10.0.5",
"uuid": "^11.1.0",
"xlsx": "https://cdn.sheetjs.com/xlsx-0.20.3/xlsx-0.20.3.tgz",
"zod": "^3.25.76",
"zustand": "^5.0.3"
},
"devDependencies": {
"@babel/parser": "^7.29.9",
"@babel/traverse": "^7.29.8",
"@capacitor/assets": "^3.0.5",
"@capacitor/cli": "^7.6.8",
"@cloudflare/workers-types": "^5.20260823.1",
"@electron/fuses": "^1.8.0",
"@eslint/js": "^9.9.0",
"@playwright/test": "^1.63.0",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.3.0",
"@testing-library/user-event": "^14.6.1",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@vitejs/plugin-react": "^4.3.1",
"concurrently": "^8.2.2",
"cross-env": "^10.1.0",
"electron": "^44.5.0",
"electron-builder": "^26.15.3",
"eslint": "^9.9.0",
"eslint-plugin-react": "^7.35.0",
"eslint-plugin-react-hooks": "^5.1.0-rc.0",
"eslint-plugin-react-refresh": "^0.4.9",
"globals": "^15.9.0",
"ignore": "^5.3.2",
"jest": "^29.7.0",
"js-yaml": "^4.3.2",
"jsdom": "^26.1.0",
"picomatch": "^2.3.2",
"typescript": "^5.9.3",
"vite": "^5.4.21",
"vitest": "^3.1.1",
"wait-on": "^9.0.3",
"wrangler": "^4.125.0"
}
}