forked from johannesjo/parallel-code
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
154 lines (154 loc) · 5.21 KB
/
package.json
File metadata and controls
154 lines (154 loc) · 5.21 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
{
"name": "parallel-code",
"version": "1.9.0",
"description": "",
"author": {
"name": "Johannes Millan",
"email": "contact@super-productivity.com"
},
"main": "dist-electron/main.js",
"type": "module",
"scripts": {
"dev": "npm run compile && npm run build:mcp && concurrently -k \"vite --config electron/vite.config.electron.ts\" \"wait-on http://localhost:1421 && VITE_DEV_SERVER_URL=http://localhost:1421 electron --no-sandbox dist-electron/main.js\"",
"typecheck": "tsc --noEmit",
"compile": "tsc -p electron/tsconfig.json",
"build:mcp": "esbuild dist-electron/mcp/server.js --bundle --platform=node --format=cjs --outfile=dist-electron/mcp-server.cjs",
"build:frontend": "NODE_OPTIONS='--max-old-space-size=4096' vite build --config electron/vite.config.electron.ts",
"build:remote": "vite build --config src/remote/vite.config.ts",
"build": "npm run build:frontend && npm run build:remote && npm run compile && npm run build:mcp && electron-builder",
"serve": "vite preview --config electron/vite.config.electron.ts",
"lint": "eslint . --max-warnings 0",
"lint:fix": "eslint . --fix",
"lint:dead": "knip",
"lint:arch": "depcruise --config .dependency-cruiser.cjs src electron",
"lint:security": "command -v semgrep >/dev/null 2>&1 && semgrep scan --config .semgrep/ --severity WARNING --error || (echo 'semgrep not installed (brew install semgrep or pip install semgrep)' >&2; exit 1)",
"test:security-rules": "node scripts/test-semgrep-filesystem-safety.mjs",
"lint:secrets": "command -v gitleaks >/dev/null 2>&1 && gitleaks detect --config .gitleaks.toml || (echo 'gitleaks not installed (brew install gitleaks)' >&2; exit 1)",
"format": "prettier --write .",
"format:check": "prettier --check .",
"test": "vitest run",
"test:coverage": "vitest run --coverage",
"check": "npm run compile && npm run typecheck && npm run lint && npm run format:check",
"check:static": "npm run typecheck && npm run lint && npm run lint:dead && npm run lint:arch",
"release": "npm run typecheck && npm version patch && git push --follow-tags",
"postinstall": "node scripts/fix-node-pty-spawn-helper.mjs",
"prepare": "husky && git config core.hooksPath .husky"
},
"license": "MIT",
"dependencies": {
"@modelcontextprotocol/sdk": "^1.27.1",
"@xterm/addon-fit": "^0.12.0-beta.195",
"@xterm/addon-web-links": "^0.13.0-beta.195",
"@xterm/addon-webgl": "^0.20.0-beta.194",
"@xterm/xterm": "^6.1.0-beta.195",
"colord": "^2.9.3",
"dompurify": "^3.4.5",
"electron-updater": "^6.8.3",
"marked": "^17.0.3",
"mermaid": "^11.15.0",
"monaco-editor": "^0.55.1",
"node-pty": "^1.1.0",
"qrcode": "^1.5.4",
"shiki": "^4.0.2",
"solid-js": "^1.9.11",
"ws": "^8.20.1"
},
"devDependencies": {
"@eslint/js": "^9.39.3",
"@types/dompurify": "^3.0.5",
"@types/node": "^25.3.0",
"@types/qrcode": "^1.5.6",
"@types/ws": "^8.18.1",
"@typescript-eslint/parser": "^8.56.0",
"@vitest/coverage-v8": "^4.0.18",
"concurrently": "^9.2.1",
"dependency-cruiser": "^17.4.0",
"electron": "^40.8.5",
"electron-builder": "^26.8.1",
"esbuild": "^0.27.4",
"eslint": "^9.39.3",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-solid": "^0.14.5",
"husky": "^9.1.7",
"knip": "^6.12.2",
"lint-staged": "^16.2.7",
"prettier": "^3.8.1",
"typescript": "~5.9.3",
"typescript-eslint": "^8.56.0",
"vite": "^7.3.2",
"vite-plugin-solid": "^2.11.10",
"vitest": "^4.0.18",
"wait-on": "^9.0.4"
},
"lint-staged": {
"*.{ts,tsx}": [
"eslint --max-warnings 0 --no-warn-ignored",
"prettier --write"
],
"*.{js,cjs,json,md,html,css}": "prettier --write"
},
"build": {
"appId": "com.parallel-code.app",
"productName": "Parallel Code",
"directories": {
"buildResources": "build",
"output": "release"
},
"publish": [
{
"provider": "github",
"owner": "johannesjo",
"repo": "parallel-code"
}
],
"files": [
"dist/**/*",
"dist-electron/**/*",
"dist-remote/**/*",
"electron/preload.cjs"
],
"asarUnpack": [
"**/node-pty/**",
"dist-electron/mcp-server.cjs"
],
"extraResources": [
{
"from": "build/icon.png",
"to": "icon.png"
},
{
"from": "docker/",
"to": "docker/"
}
],
"linux": {
"target": [
"AppImage",
"deb"
],
"category": "Development",
"desktop": {
"entry": {
"StartupWMClass": "parallel-code",
"StartupNotify": "true"
}
}
},
"mac": {
"target": [
"dmg",
"zip"
],
"category": "public.app-category.developer-tools",
"hardenedRuntime": true,
"extendInfo": {
"NSMicrophoneUsageDescription": "Parallel Code needs microphone access for voice input in terminal sessions."
},
"gatekeeperAssess": false,
"notarize": true,
"x64ArchFiles": "Contents/Resources/app.asar.unpacked/node_modules/node-pty/prebuilds/**",
"entitlements": "build/entitlements.mac.plist",
"entitlementsInherit": "build/entitlements.mac.plist"
}
}
}