forked from colbymchenry/codegraph
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
68 lines (68 loc) · 2.68 KB
/
package.json
File metadata and controls
68 lines (68 loc) · 2.68 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
{
"name": "@codedelta/monorepo",
"version": "0.1.0",
"description": "CodeDelta — local-first commit-aware structural code intelligence, built on CodeGraph.",
"private": true,
"workspaces": [
"packages/*",
"apps/*"
],
"main": "dist/index.js",
"types": "dist/index.d.ts",
"bin": {
"codegraph": "./dist/bin/codegraph.js"
},
"files": [
"dist",
"scripts",
"README.md"
],
"scripts": {
"build": "tsc && npm run copy-assets && node -e \"require('fs').chmodSync('dist/bin/codegraph.js', 0o755)\"",
"build:codedelta": "npm run build && npm run build -w @codedelta/types && npm run build --workspaces --if-present",
"preuninstall": "node dist/bin/uninstall.js",
"copy-assets": "node -e \"const fs=require('fs');fs.mkdirSync('dist/db',{recursive:true});fs.copyFileSync('src/db/schema.sql','dist/db/schema.sql');fs.mkdirSync('dist/extraction/wasm',{recursive:true});fs.readdirSync('src/extraction/wasm').filter(f=>f.endsWith('.wasm')).forEach(f=>fs.copyFileSync('src/extraction/wasm/'+f,'dist/extraction/wasm/'+f))\"",
"dev": "tsc --watch",
"dev:codedelta": "npm run build:codedelta && concurrently -n server,web,provider -c blue,green,magenta \"npm run dev -w @codedelta/server\" \"npm run dev -w @codedelta/web\" \"npm run dev -w @codedelta/provider-runtime\"",
"stage:desktop": "node scripts/desktop-stage.mjs",
"dev:desktop": "concurrently -n server,web,tauri -c blue,green,cyan \"npm run dev -w @codedelta/server\" \"npm run dev -w @codedelta/web\" \"npm run dev -w @codedelta/desktop\"",
"build:desktop": "npm run stage:desktop && npm run build:app -w @codedelta/desktop",
"cli": "npm run build && node dist/bin/codegraph.js",
"test": "vitest run",
"test:watch": "vitest",
"test:eval": "vitest run __tests__/evaluation/",
"eval": "npm run build && npx tsx __tests__/evaluation/runner.ts",
"clean": "node -e \"const fs=require('fs');fs.rmSync('dist',{recursive:true,force:true})\""
},
"keywords": [
"code-intelligence",
"knowledge-graph",
"static-analysis"
],
"author": "",
"license": "MIT",
"dependencies": {
"@clack/prompts": "^1.3.0",
"chokidar": "^4.0.3",
"commander": "^14.0.2",
"fast-string-width": "^3.0.2",
"fast-wrap-ansi": "^0.2.0",
"ignore": "^7.0.5",
"jsonc-parser": "^3.3.1",
"picomatch": "^4.0.3",
"sisteransi": "^1.0.5",
"tree-sitter-wasms": "^0.1.11",
"web-tree-sitter": "^0.25.3"
},
"devDependencies": {
"@types/better-sqlite3": "^7.6.0",
"@types/node": "^20.19.30",
"@types/picomatch": "^4.0.2",
"concurrently": "^9.1.2",
"typescript": "^5.0.0",
"vitest": "^4.1.7"
},
"engines": {
"node": ">=20.0.0 <25.0.0"
}
}