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
130 lines (130 loc) · 3.99 KB
/
package.json
File metadata and controls
130 lines (130 loc) · 3.99 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
{
"name": "parallel-code",
"version": "1.8.0",
"description": "",
"author": {
"name": "Johannes Millan",
"email": "contact@super-productivity.com"
},
"main": "dist-electron/main.js",
"type": "module",
"scripts": {
"dev": "npm run compile && 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: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 && electron-builder",
"serve": "vite preview --config electron/vite.config.electron.ts",
"lint": "eslint . --max-warnings 0",
"lint:fix": "eslint . --fix",
"format": "prettier --write .",
"format:check": "prettier --check .",
"test": "vitest run",
"test:coverage": "vitest run --coverage",
"check": "npm run typecheck && npm run lint && npm run format:check",
"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": {
"@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",
"dompurify": "^3.4.2",
"marked": "^17.0.3",
"mermaid": "^11.13.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.19.0"
},
"devDependencies": {
"@eslint/js": "^9.39.3",
"@vitest/coverage-v8": "^4.0.18",
"@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",
"concurrently": "^9.2.1",
"electron": "^40.8.5",
"electron-builder": "^26.8.1",
"eslint": "^9.39.3",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-solid": "^0.14.5",
"husky": "^9.1.7",
"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"
},
"files": [
"dist/**/*",
"dist-electron/**/*",
"dist-remote/**/*",
"electron/preload.cjs"
],
"asarUnpack": [
"**/node-pty/**"
],
"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",
"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"
}
}
}