Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
89 lines (89 loc) · 2.93 KB
/
Copy pathpackage.json
File metadata and controls
89 lines (89 loc) · 2.93 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
{
"name": "trymydev",
"version": "0.3.0",
"description": "Run any GitHub branch, fork or pull request of any project — hand it to your testers",
"main": "./out/main/index.js",
"author": "TryMyDev",
"license": "MIT",
"private": true,
"scripts": {
"dev": "electron-vite dev",
"build": "electron-vite build",
"typecheck": "tsc -p tsconfig.node.json --noEmit && tsc -p tsconfig.web.json --noEmit",
"test": "node --test --test-timeout=120000 --experimental-transform-types --disable-warning=ExperimentalWarning --import ./test/register.mjs \"electron/**/*.test.ts\"",
"test:e2e": "electron-vite build && node --test test/e2e.test.mjs test/overlay.e2e.test.mjs && node --test --experimental-transform-types --disable-warning=ExperimentalWarning --import ./test/register.mjs test/agent.e2e.test.ts",
"icons": "electron build/icons.cjs",
"package": "cross-env CSC_IDENTITY_AUTO_DISCOVERY=false npm run build && electron-builder",
"package:mac": "cross-env CSC_IDENTITY_AUTO_DISCOVERY=false npm run build && electron-builder --mac --arm64",
"package:linux": "npm run build && electron-builder --linux"
},
"dependencies": {
"@modelcontextprotocol/sdk": "^1.30.1",
"cross-spawn": "^7.0.6",
"qrcode": "^1.5.4",
"tar": "^7.5.9"
},
"devDependencies": {
"@types/cross-spawn": "^6.0.6",
"@types/node": "^22.10.1",
"@types/qrcode": "^1.5.6",
"@types/react": "^18.3.17",
"@types/react-dom": "^18.3.5",
"@vitejs/plugin-react": "^4.3.4",
"cross-env": "^10.1.0",
"electron": "^42.4.1",
"electron-builder": "^26.15.3",
"electron-vite": "^5.0.0",
"npm": "^11.19.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"typescript": "^5.7.2",
"vite": "^7.0.0"
},
"build": {
"appId": "com.trymydev.app",
"productName": "TryMyDev",
"asar": true,
"afterPack": "./build/after-pack.cjs",
"electronFuses": {
"runAsNode": false,
"enableNodeOptionsEnvironmentVariable": false,
"enableNodeCliInspectArguments": false,
"enableCookieEncryption": true,
"enableEmbeddedAsarIntegrityValidation": true,
"onlyLoadAppFromAsar": true
},
"directories": {
"output": "dist"
},
"files": [
"out/**/*",
"node_modules/**/*",
"package.json",
"resources/icon.ico",
"resources/icon.png"
],
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true
},
"win": {
"target": "nsis",
"artifactName": "${productName}-Setup.${ext}",
"icon": "resources/icon.ico"
},
"mac": {
"target": "dmg",
"icon": "resources/icon.icns",
"identity": null,
"category": "public.app-category.developer-tools",
"artifactName": "${productName}-${arch}.${ext}"
},
"linux": {
"target": "AppImage",
"icon": "resources/icon.png",
"category": "Development",
"artifactName": "${productName}.${ext}"
}
}
}