-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
78 lines (78 loc) · 2.11 KB
/
package.json
File metadata and controls
78 lines (78 loc) · 2.11 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
{
"name": "infinity",
"version": "0.1.0",
"private": true,
"packageManager": "pnpm@10.33.1",
"main": "dist-electron/main.js",
"scripts": {
"dev": "next dev --port 3099",
"dev:electron": "tsc -p electron/tsconfig.json && electron .",
"build": "mv src/app/api src/app/_api_bak 2>/dev/null; next build; mv src/app/_api_bak src/app/api 2>/dev/null; true",
"build:web": "mv src/app/api src/app/_api_bak 2>/dev/null; next build; mv src/app/_api_bak src/app/api 2>/dev/null; true",
"build:electron": "BUILD_TARGET=electron next build --webpack && tsc -p electron/tsconfig.json",
"start": "next start --port 3099",
"electron": "tsc -p electron/tsconfig.json && electron .",
"dist": "pnpm build:electron && electron-builder",
"dist:mac": "pnpm build:electron && electron-builder --mac",
"dist:win": "pnpm build:electron && electron-builder --win",
"dist:linux": "pnpm build:electron && electron-builder --linux",
"lint": "eslint"
},
"dependencies": {
"next": "16.2.4",
"openai": "^6.34.0",
"react": "19.2.4",
"react-dom": "19.2.4"
},
"devDependencies": {
"@tailwindcss/postcss": "^4",
"@types/node": "^20",
"@types/react": "^19",
"@types/react-dom": "^19",
"electron": "^35.7.5",
"electron-builder": "^26.8.1",
"eslint": "^9",
"eslint-config-next": "16.2.4",
"tailwindcss": "^4",
"typescript": "^5"
},
"build": {
"appId": "com.infinity.app",
"productName": "Infinity",
"directories": {
"output": "release"
},
"files": [
"dist-electron/**/*",
"electron/shell.html",
".next/**/*",
"public/**/*",
"package.json",
"next.config.ts",
"node_modules/**/*"
],
"extraResources": [],
"mac": {
"category": "public.app-category.productivity",
"target": [
"dmg",
"zip"
],
"icon": "public/icon.icns"
},
"win": {
"target": [
"nsis",
"zip"
],
"icon": "public/icon.ico"
},
"linux": {
"target": [
"AppImage",
"deb"
],
"category": "Utility"
}
}
}