-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
97 lines (97 loc) · 2.54 KB
/
package.json
File metadata and controls
97 lines (97 loc) · 2.54 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
{
"name": "proxy-api-key-checker",
"version": "1.1.0",
"description": "Desktop app to validate API keys for OpenAI, Gemini, YouTube, and custom endpoints with batch checks, rate limits, and reports.",
"license": "BSD-3-Clause",
"author": "nbox (https://github.com/nbox)",
"main": "dist/main/main.js",
"scripts": {
"dev": "concurrently -k \"vite\" \"tsc -p tsconfig.main.json -w\" \"wait-on http://localhost:5173 dist/main/main.js && electron .\"",
"build": "tsc -p tsconfig.main.json && vite build",
"preview": "vite preview",
"pack": "npm run build && electron-builder --dir",
"dist": "node -e \"const fs=require('fs'); for (const p of ['dist','release']) { if (fs.existsSync(p)) fs.rmSync(p,{recursive:true,force:true}); }\" && npm run build && electron-builder"
},
"dependencies": {
"http-proxy-agent": "^5.0.0",
"iconv-lite": "^0.6.3",
"https-proxy-agent": "^5.0.1",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@types/node": "^20.11.19",
"@types/react": "^18.2.56",
"@types/react-dom": "^18.2.19",
"@vitejs/plugin-react": "^4.2.1",
"autoprefixer": "^10.4.17",
"concurrently": "^8.2.2",
"electron": "^40.0.0",
"electron-builder": "^26.6.0",
"postcss": "^8.4.35",
"tailwindcss": "^3.4.1",
"typescript": "^5.4.2",
"vite": "^6.4.1",
"wait-on": "^7.2.0"
},
"build": {
"appId": "com.nbox.proxy-api-key-checker",
"productName": "Proxy & API Key Checker",
"afterPack": "build/afterPack.cjs",
"mac": {
"artifactName": "Proxy & API Key Checker-${version}-${arch}.${ext}",
"icon": "resources/icon.icns",
"target": [
{
"target": "dmg",
"arch": [
"arm64",
"x64"
]
}
]
},
"win": {
"icon": "assets/logo.png",
"target": [
"nsis"
]
},
"linux": {
"icon": "assets/logo.png",
"target": [
"AppImage"
]
},
"dmg": {
"window": {
"width": 540,
"height": 420
},
"background": "resources/dmg-background.png",
"contents": [
{
"x": 130,
"y": 220
},
{
"x": 410,
"y": 220,
"type": "link",
"path": "/Applications"
}
]
},
"files": [
"dist/main/**/*",
"dist/renderer/**/*",
"dist/shared/**/*",
"package.json"
],
"directories": {
"buildResources": "resources",
"output": "release"
},
"asar": true
}
}