-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
199 lines (199 loc) · 6.4 KB
/
package.json
File metadata and controls
199 lines (199 loc) · 6.4 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
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
{
"name": "new-world-chat-ai",
"description": "Generate Chatmessage for New World with Ai and Humor.",
"private": false,
"version": "1.8.0",
"type": "module",
"homepage": "https://involvex.github.io/new-world-chat-ai/",
"author": {
"name": "Ina Venox",
"url": "https://involvex.github.io/new-world-chat-ai/"
},
"license": "MIT",
"github": {
"url": "https://github.com/involvex/new-world-chat-ai.git"
},
"main": "electron/main.js",
"scripts": {
"dev": "vite",
"build": "vite build",
"build:web": "node scripts/build-web.js",
"build:analyze": "vite build --mode analyze",
"preview": "vite preview",
"electron": "electron .",
"electron-dev": "concurrently \"npm run dev\" \"wait-on http://localhost:5173 && cross-env NODE_ENV=development electron .\"",
"electron-prod": "npm run build && cross-env NODE_ENV=production electron .",
"build-electron": "npm run build && electron-builder",
"dist": "npm run build && electron-builder --publish=never",
"prebuild": "npm run clean:build && npm run check:env",
"postbuild": "npm run validate:build",
"prerelease": "npm run validate:all",
"release": "npm run clean && npm run typecheck && npm run build && npm run package:all",
"release:win": "npm run clean && npm run typecheck && npm run build && npm run package:win",
"release:mac": "npm run clean && npm run typecheck && npm run build && npm run package:mac",
"release:linux": "npm run clean && npm run typecheck && npm run build && npm run package:linux",
"package:all": "npm run package:win && echo 'Windows build complete' || npm run handle:build-error",
"package:win": "node scripts/robust-builder.cjs win || npm run handle:build-error",
"package:mac": "node scripts/robust-builder.cjs mac || npm run handle:build-error",
"package:linux": "node scripts/robust-builder.cjs linux || npm run handle:build-error",
"handle:build-error": "echo 'Build failed - checking for partial builds...' && npm run recover:build",
"recover:build": "node scripts/build-validator.cjs recover",
"validate:all": "node scripts/build-validator.cjs validate",
"validate:deps": "node scripts/build-validator.cjs deps",
"validate:icons": "node scripts/build-validator.cjs icons",
"validate:build": "node scripts/build-validator.cjs build",
"check:env": "node scripts/build-validator.cjs env",
"clean": "node scripts/robust-cleanup.cjs all",
"clean:all": "node scripts/robust-cleanup.cjs all",
"clean:build": "rimraf dist-electron",
"clean:cache": "node scripts/robust-cleanup.cjs cache",
"clean:temp": "node scripts/robust-cleanup.cjs temp",
"kill:processes": "node scripts/robust-cleanup.cjs kill",
"lint": "echo 'Add linting if needed'",
"test": "echo 'Add tests if needed'",
"typecheck": "tsc --noEmit",
"postinstall": "electron-builder install-app-deps"
},
"dependencies": {
"@emotion/react": "^11.14.0",
"@emotion/styled": "^11.14.1",
"@fontsource/roboto": "^5.2.6",
"@google/genai": "^1.9.0",
"@material/web": "^2.3.0",
"@mui/icons-material": "^7.2.0",
"@mui/material": "^7.2.0",
"@mui/styled-engine-sc": "^7.2.0",
"@rollup/plugin-node-resolve": "^16.0.1",
"@tailwindcss/vite": "^4.1.11",
"@toolpad/core": "^0.16.0",
"@types/node": "^24.0.14",
"@types/react": "^19.1.8",
"lit-html": "^3.3.1",
"react": "^19.1.0",
"react-dom": "^19.1.0",
"rollup": "^4.45.1",
"styled-components": "^6.1.19",
"tailwindcss": "^4.1.11"
},
"devDependencies": {
"@electron/rebuild": "^4.0.1",
"@types/react-dom": "^19.1.6",
"@vitejs/plugin-react": "^4.6.0",
"concurrently": "^9.2.0",
"cross-env": "^7.0.3",
"electron": "^37.2.3",
"electron-builder": "^26.0.18",
"png-to-ico": "^2.1.8",
"rimraf": "^6.0.1",
"robotjs": "^0.6.0",
"typescript": "^5.8.3",
"vite": "^7.0.4",
"vite-plugin-static-copy": "^3.1.1",
"wait-on": "^8.0.3"
},
"build": {
"appId": "com.involvex.new-world-chat-ai",
"productName": "New World Chat AI",
"buildVersion": "1.8.0",
"directories": {
"output": "dist-electron",
"buildResources": "build"
},
"files": [
"dist/**/*",
"electron/**/*",
"package.json",
"build/**/*",
"!node_modules/**/*",
"!src/**/*",
"!scripts/**/*",
"!*.log",
"build/icon.png",
"bundle.js"
],
"extraResources": [
{
"from": "build/",
"to": "build/",
"filter": [
"**/*"
]
}
],
"compression": "normal",
"nodeGypRebuild": false,
"buildDependenciesFromSource": true,
"npmRebuild": true,
"win": {
"target": [
{
"target": "nsis",
"arch": [
"x64"
]
},
{
"target": "portable",
"arch": [
"x64"
]
}
],
"icon": "build/icon.png",
"requestedExecutionLevel": "asInvoker",
"artifactName": "${productName}-${version}-${arch}.${ext}"
},
"mac": {
"target": "dmg",
"icon": "build/icon.icns",
"category": "public.app-category.games",
"artifactName": "${productName}-${version}.${ext}",
"hardenedRuntime": false,
"gatekeeperAssess": false
},
"linux": {
"target": [
{
"target": "AppImage",
"arch": [
"x64"
]
},
{
"target": "deb",
"arch": [
"x64"
]
}
],
"icon": "build/icon.png",
"category": "Game",
"artifactName": "${productName}-${version}.${ext}"
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true,
"createDesktopShortcut": true,
"createStartMenuShortcut": true,
"shortcutName": "New World Chat AI",
"artifactName": "${productName} Setup ${version}.${ext}",
"deleteAppDataOnUninstall": false
},
"portable": {
"artifactName": "${productName}-${version}-portable.${ext}"
},
"dmg": {
"title": "New World Chat AI ${version}",
"artifactName": "${productName}-${version}.${ext}",
"writeUpdateInfo": false
},
"appImage": {
"artifactName": "${productName}-${version}.${ext}"
},
"deb": {
"artifactName": "${productName}-${version}.${ext}"
},
"afterSign": "scripts/notarize.cjs",
"afterPack": "scripts/after-pack.cjs"
}
}