-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
159 lines (159 loc) · 5.55 KB
/
package.json
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
{
"name": "wc3multitool",
"version": "3.0.5-alpha",
"description": "A multi-tool for Warcraft 3",
"private": true,
"type": "module",
"main": "packages/main/dist/index.js",
"author": "Keith Gallimore",
"scripts": {
"build": "npm run build:main && npm run build:preload && npm run build:renderer && npm run build:webUI",
"build:main": "cd ./packages/main && vite build",
"build:preload": "cd ./packages/preload && vite build",
"build:renderer": "cd ./packages/renderer && vite build",
"build:webUI": "cd ./packages/webUI && tsc",
"deploy": "cd scripts && tsx deploy.ts",
"compile": "cross-env MODE=production npm run build && electron-builder build --dir --config.asar=false",
"pack": "cross-env MODE=production npm run build && electron-builder build",
"watch": "node scripts/watch.js",
"lint": "eslint . --ext js,mjs,cjs,ts,mts,cts,svelte",
"lint:fix": "eslint . --ext js,mjs,cjs,ts,mts,cts,svelte --fix",
"typecheck:main": "tsc --noEmit -p packages/main/tsconfig.json",
"typecheck:preload": "tsc --noEmit -p packages/preload/tsconfig.json",
"typecheck:renderer": "svelte-check --noEmit -p packages/renderer/tsconfig.json",
"typecheck": "npm run typecheck:main && npm run typecheck:preload && npm run typecheck:renderer",
"rebuild": "electron-rebuild -f",
"postinstall": "cross-env ELECTRON_RUN_AS_NODE=1 electron scripts/update-electron-vendors.js",
"format": "npx prettier --write \"**/*.{js,mjs,cjs,ts,mts,cts,svelte,json}\"",
"introspect": "drizzle-kit introspect:sqlite --config=drizzle.config.ts",
"generate": "cd ./packages/main/src && drizzle-kit generate:sqlite --config=drizzle.config.ts"
},
"build": {
"appId": "wc3multitool",
"productName": "WC3 Multi-Tool",
"copyright": "Keith Gallimore",
"files": [
"packages/**/dist/**",
"drizzle/**",
"!**/node_modules/*/{CHANGELOG.md,README.md,README,readme.md,readme}",
"!**/node_modules/*/{test,__tests__,tests,powered-test,example,examples}",
"!**/node_modules/*.d.ts",
"!**/node_modules/.bin",
"!**/*.{iml,o,hprof,orig,pyc,pyo,rbc,swp,csproj,sln,xproj}",
"!.editorconfig",
"!**/._*",
"!**/{.DS_Store,.git,.hg,.svn,CVS,RCS,SCCS,.gitignore,.gitattributes}",
"!**/{__pycache__,thumbs.db,.flowconfig,.idea,.vs,.nyc_output}",
"!**/{appveyor.yml,.travis.yml,circle.yml}",
"!**/{npm-debug.log,yarn.lock,.yarn-integrity,.yarn-metadata.json}"
],
"extraResources": [
"node_modules/@prisma/engines/schema-engine-*",
"node_modules/@prisma/engines/query*",
"node_modules/@prisma/engines/libquery*"
],
"extraFiles": [
{
"from": "buildResources",
"to": "."
}
],
"win": {
"target": [
"nsis"
],
"icon": "buildResources/images/wc3_auto_balancer_v2.png"
},
"nsis": {
"installerIcon": "buildResources/images/wc3_auto_balancer_v1.ico",
"uninstallerIcon": "buildResources/images/wc3_auto_balancer_v1.ico",
"artifactName": "WC3-Multi-Tool-Setup-${version}.${ext}",
"uninstallDisplayName": "WC3 Multi-Tool",
"include": "buildResources/installer.nsh",
"oneClick": false,
"allowToChangeInstallationDirectory": true,
"removeDefaultUninstallWelcomePage": true
},
"portable": {
"artifactName": "WC3_Multi-Tool_Setup_portable.exe",
"unpackDirName": "wc3MultiTool_portable"
},
"publish": [
{
"provider": "generic",
"url": "https://war.trenchguns.com/publish"
}
],
"protocols": [
{
"name": "wc3mt",
"role": "Viewer",
"schemes": [
"wc3mt"
]
}
]
},
"devDependencies": {
"@crxjs/vite-plugin": "^2.0.0-beta.23",
"@svelte-plugins/tooltips": "^3.0.1",
"@sveltejs/vite-plugin-svelte": "^3.1.0",
"@tsconfig/svelte": "^5.0.4",
"@types/audio-play": "^2.3.2",
"@types/better-sqlite3": "^7.6.10",
"@types/discord-rpc": "^4.0.8",
"@types/node": "^20.12.8",
"@types/ws": "^8.5.10",
"@typescript-eslint/eslint-plugin": "^7.8.0",
"@typescript-eslint/parser": "^7.8.0",
"@zerodevx/svelte-toast": "^0.9.5",
"autoprefixer": "^10.4.19",
"basic-ftp": "^5.0.5",
"cross-env": "^7.0.3",
"drizzle-kit": "^0.20.17",
"electron": "^29.3.1",
"electron-builder": "^24.13.3",
"eslint": "^8.57.0",
"eslint-plugin-drizzle": "^0.2.3",
"eslint-plugin-svelte": "^2.38.0",
"nano-staged": "^0.8.0",
"postcss": "^8.4.38",
"simple-git-hooks": "^2.11.1",
"svelte": "^4.2.15",
"svelte-check": "^3.7.1",
"tailwindcss": "^3.4.3",
"tslib": "^2.6.2",
"typescript": "^5.4.5",
"unplugin-auto-expose": "^0.3.0",
"vite": "^5.2.11",
"vite-plugin-dts": "^3.9.0"
},
"dependencies": {
"@iamtraction/google-translate": "^2.0.1",
"@nut-tree/bolt": "^2.1.3",
"@nut-tree/element-inspector": "^0.1.5",
"@nut-tree/nl-matcher": "^3.0.2",
"@nut-tree/nut-js": "^4.2.0",
"audio-loader": "^1.0.3",
"audio-play": "^2.3.1",
"better-sqlite3": "^9.6.0",
"discord-rpc": "^4.0.1",
"discord.js": "^14.15.2",
"dotenv": "^16.4.5",
"drizzle-orm": "^0.30.10",
"electron-log": "^5.1.2",
"electron-store": "^9.0.0",
"electron-updater": "^6.1.8",
"fast-geoip": "^1.1.88",
"js-combinatorics": "^2.1.2",
"languagedetect": "^2.0.0",
"npm": "^10.6.0",
"obs-websocket-js": "^5.0.5",
"sequelize": "^6.37.3",
"socket.io-client": "^2.5.0",
"type-fest": "^4.18.1",
"w3gjs": "^2.5.0",
"wc3mt-lobby-container": "^1.1.5",
"ws": "^8.17.0"
}
}