|
1 | 1 | {
|
2 | 2 | "name": "hyperplay",
|
3 |
| - "version": "0.22.3", |
| 3 | + "version": "0.22.5", |
4 | 4 | "private": true,
|
5 | 5 | "main": "build/main/main.js",
|
6 | 6 | "homepage": "./",
|
|
14 | 14 | "name": "HyperPlay",
|
15 | 15 | "email": "support@hyperplay.xyz"
|
16 | 16 | },
|
| 17 | + "scripts": { |
| 18 | + "setup": "pnpm install --ignore-scripts && patch-package && pnpm exec allow-scripts", |
| 19 | + "setupWithoutOptional": "node ./dev/rmOptionalDependencies.js && pnpm prettier-fix && pnpm install --ignore-optional && pnpm exec allow-scripts", |
| 20 | + "start": "electron-vite dev --watch", |
| 21 | + "debug:react": "react-devtools", |
| 22 | + "codecheck": "tsc --noEmit", |
| 23 | + "find-deadcode": "ts-prune --error", |
| 24 | + "test": "jest", |
| 25 | + "testProxy": "jest proxy.test.ts", |
| 26 | + "test-watch": "jest --watch --maxWorkers=25%", |
| 27 | + "test:ci": "jest --runInBand --silent", |
| 28 | + "test:e2e-ci": "cross-env-shell bash e2e/entrypoint.sh", |
| 29 | + "test:e2ePackaged-ci": "cross-env TEST_PACKAGED=true pnpm test:e2e-ci", |
| 30 | + "test:e2e": "cross-env-shell docker compose -f e2e/docker-compose.yml run --rm --build process_all bash e2e/entrypoint.sh", |
| 31 | + "test:e2ePackaged": "cross-env TEST_PACKAGED=true pnpm test:e2e", |
| 32 | + "manualTestProxyJest": "jest mmExtIntegration.test.ts", |
| 33 | + "release:linux": "pnpm pkgResetExtension:x64:linux && export NODE_ENV_ELECTRON_VITE=production && electron-vite build && cross-env ELECTRON_MIRROR=https://github.com/HyperPlay-Gaming/electron-releases/releases/download/ ELECTRON_CUSTOM_DIR=v33.2.0 electron-builder -p always --linux deb rpm pacman tar.xz", |
| 34 | + "release:updateFlathub:ci": "tsc flathub/update-flathub.ts --skipLibCheck --target es2015 --moduleResolution node --module commonjs && node flathub/update-flathub.js", |
| 35 | + "release:mac:x64": "pnpm pkgResetExtension:x64:mac && export NODE_ENV_ELECTRON_VITE=production && electron-vite build && cross-env ELECTRON_MIRROR=https://github.com/HyperPlay-Gaming/electron-releases/releases/download/ ELECTRON_CUSTOM_DIR=v33.2.0 electron-builder -p always --mac --x64", |
| 36 | + "release:mac:arm64": "pnpm pkgResetExtension:arm64:mac && export NODE_ENV_ELECTRON_VITE=production && electron-vite build && cross-env ELECTRON_MIRROR=https://github.com/HyperPlay-Gaming/electron-releases/releases/download/ ELECTRON_CUSTOM_DIR=v33.2.0 electron-builder -p always --mac --arm64", |
| 37 | + "dist:linux": "pnpm pkgResetExtension:x64:linux && export NODE_ENV_ELECTRON_VITE=production && electron-vite build && cross-env ELECTRON_MIRROR=https://github.com/HyperPlay-Gaming/electron-releases/releases/download/ ELECTRON_CUSTOM_DIR=v33.2.0 electron-builder --linux", |
| 38 | + "dist:linux:ci:deb": "pnpm dist:linux deb --publish=never", |
| 39 | + "dist:linux:ci:rpm": "pnpm dist:linux rpm --publish=never", |
| 40 | + "dist:linux:ci:pacman": "pnpm dist:linux pacman --publish=never", |
| 41 | + "dist:linux:ci:flatpak": "pnpm dist:linux tar.xz --publish=never", |
| 42 | + "dist:mac:base": "export NODE_ENV_ELECTRON_VITE=production && export CSC_IDENTITY_AUTO_DISCOVERY=false && electron-vite build && cross-env ELECTRON_MIRROR=https://github.com/HyperPlay-Gaming/electron-releases/releases/download/ ELECTRON_CUSTOM_DIR=v33.2.0 electron-builder --mac", |
| 43 | + "dist:mac:x64": "pnpm pkgResetExtension:x64:mac && pnpm dist:mac:base --x64 --publish=never", |
| 44 | + "dist:mac:arm64": "pnpm pkgResetExtension:arm64:mac && pnpm dist:mac:base --arm64 --publish=never", |
| 45 | + "dist:win": "pnpm pkgResetExtension:x64:win && cross-env NODE_ENV_ELECTRON_VITE=production electron-vite build && cross-env ELECTRON_MIRROR=https://github.com/HyperPlay-Gaming/electron-releases/releases/download/ ELECTRON_CUSTOM_DIR=v33.2.0 electron-builder --win nsis --publish=never", |
| 46 | + "build-signed:win": "electron-vite build && cross-env ELECTRON_MIRROR=https://github.com/HyperPlay-Gaming/electron-releases/releases/download/ ELECTRON_CUSTOM_DIR=v33.2.0 electron-builder --win -c.win.certificateSubjectName=\"HyperPlay Labs Inc.\"", |
| 47 | + "lint": "eslint --cache -c .eslintrc.json --ext .tsx,ts ./src", |
| 48 | + "lint-fix": "eslint --fix -c .eslintrc.json --ext .tsx,ts ./src", |
| 49 | + "flatpak:build": "cd flatpak-build && flatpak-builder build xyz.hyperplay.HyperPlay.yml --install --force-clean --user", |
| 50 | + "flatpak:prepare": "node ./flatpak/prepareFlatpak.js", |
| 51 | + "flatpak:prepare-release": "node ./flatpak/prepareFlatpak.js release", |
| 52 | + "i18n": "i18next", |
| 53 | + "prepare": "husky install", |
| 54 | + "prettier": "prettier --check .", |
| 55 | + "prettier-fix": "prettier --write .", |
| 56 | + "pkgResetExtension:base": "node ./buildResetExtension.js", |
| 57 | + "pkgResetExtension:arm64:mac": "pnpm pkgResetExtension:base -t node18-macos-arm64", |
| 58 | + "pkgResetExtension:x64:mac": "pnpm pkgResetExtension:base -t node18-macos-x64", |
| 59 | + "pkgResetExtension:x64:win": "pnpm pkgResetExtension:base -t node18-win-x64", |
| 60 | + "pkgResetExtension:x64:linux": "pnpm pkgResetExtension:base -t node18-linux-x64" |
| 61 | + }, |
17 | 62 | "dependencies": {
|
18 | 63 | "@emotion/react": "^11.13.0",
|
19 | 64 | "@emotion/styled": "^11.13.0",
|
|
26 | 71 | "@fortawesome/react-fontawesome": "^0.2.2",
|
27 | 72 | "@hyperplay/chains": "^0.3.0",
|
28 | 73 | "@hyperplay/check-disk-space": "^3.5.2",
|
29 |
| - "@hyperplay/quests-ui": "^0.1.0", |
| 74 | + "@hyperplay/quests-ui": "^0.1.9", |
30 | 75 | "@hyperplay/ui": "^1.8.18",
|
31 |
| - "@hyperplay/utils": "^0.3.4", |
| 76 | + "@hyperplay/utils": "^0.3.6", |
32 | 77 | "@mantine/carousel": "^7.12.0",
|
33 | 78 | "@mantine/core": "^7.12.0",
|
34 | 79 | "@mantine/dropzone": "^7.12.0",
|
|
56 | 101 | "crc": "^4.3.2",
|
57 | 102 | "discord-rich-presence-typescript": "^0.0.8",
|
58 | 103 | "electron-store": "^8.2.0",
|
59 |
| - "electron-updater": "^6.2.1", |
| 104 | + "electron-updater": "^6.3.9", |
60 | 105 | "embla-carousel-autoplay": ">=7.0.0",
|
61 | 106 | "embla-carousel-react": ">=7.0.0",
|
62 | 107 | "ethers": "^6.12.1",
|
|
110 | 155 | "yauzl": "^3.1.3",
|
111 | 156 | "zod": "^3.23.8"
|
112 | 157 | },
|
113 |
| - "scripts": { |
114 |
| - "setup": "pnpm install --ignore-scripts && pnpm exec allow-scripts", |
115 |
| - "setupWithoutOptional": "node ./dev/rmOptionalDependencies.js && pnpm prettier-fix && pnpm install --ignore-optional && pnpm exec allow-scripts", |
116 |
| - "start": "electron-vite dev --watch", |
117 |
| - "debug:react": "react-devtools", |
118 |
| - "codecheck": "tsc --noEmit", |
119 |
| - "find-deadcode": "ts-prune --error", |
120 |
| - "test": "jest", |
121 |
| - "testProxy": "jest proxy.test.ts", |
122 |
| - "test-watch": "jest --watch --maxWorkers=25%", |
123 |
| - "test:ci": "jest --runInBand --silent", |
124 |
| - "test:e2e-ci": "cross-env-shell bash e2e/entrypoint.sh", |
125 |
| - "test:e2ePackaged-ci": "cross-env TEST_PACKAGED=true pnpm test:e2e-ci", |
126 |
| - "test:e2e": "cross-env-shell docker compose -f e2e/docker-compose.yml run --rm --build process_all bash e2e/entrypoint.sh", |
127 |
| - "test:e2ePackaged": "cross-env TEST_PACKAGED=true pnpm test:e2e", |
128 |
| - "manualTestProxyJest": "jest mmExtIntegration.test.ts", |
129 |
| - "release:linux": "pnpm pkgResetExtension:x64:linux && export NODE_ENV_ELECTRON_VITE=production && electron-vite build && cross-env ELECTRON_MIRROR=https://github.com/HyperPlay-Gaming/electron-releases/releases/download/ ELECTRON_CUSTOM_DIR=v33.2.0 electron-builder -p always --linux deb rpm pacman tar.xz", |
130 |
| - "release:updateFlathub:ci": "tsc flathub/update-flathub.ts --skipLibCheck --target es2015 --moduleResolution node --module commonjs && node flathub/update-flathub.js", |
131 |
| - "release:mac:x64": "pnpm pkgResetExtension:x64:mac && export NODE_ENV_ELECTRON_VITE=production && electron-vite build && cross-env ELECTRON_MIRROR=https://github.com/HyperPlay-Gaming/electron-releases/releases/download/ ELECTRON_CUSTOM_DIR=v33.2.0 electron-builder -p always --mac --x64", |
132 |
| - "release:mac:arm64": "pnpm pkgResetExtension:arm64:mac && export NODE_ENV_ELECTRON_VITE=production && electron-vite build && cross-env ELECTRON_MIRROR=https://github.com/HyperPlay-Gaming/electron-releases/releases/download/ ELECTRON_CUSTOM_DIR=v33.2.0 electron-builder -p always --mac --arm64", |
133 |
| - "dist:linux": "pnpm pkgResetExtension:x64:linux && export NODE_ENV_ELECTRON_VITE=production && electron-vite build && cross-env ELECTRON_MIRROR=https://github.com/HyperPlay-Gaming/electron-releases/releases/download/ ELECTRON_CUSTOM_DIR=v33.2.0 electron-builder --linux", |
134 |
| - "dist:linux:ci:deb": "pnpm dist:linux deb --publish=never", |
135 |
| - "dist:linux:ci:rpm": "pnpm dist:linux rpm --publish=never", |
136 |
| - "dist:linux:ci:pacman": "pnpm dist:linux pacman --publish=never", |
137 |
| - "dist:linux:ci:flatpak": "pnpm dist:linux tar.xz --publish=never", |
138 |
| - "dist:mac:base": "export NODE_ENV_ELECTRON_VITE=production && export CSC_IDENTITY_AUTO_DISCOVERY=false && electron-vite build && cross-env ELECTRON_MIRROR=https://github.com/HyperPlay-Gaming/electron-releases/releases/download/ ELECTRON_CUSTOM_DIR=v33.2.0 electron-builder --mac", |
139 |
| - "dist:mac:x64": "pnpm pkgResetExtension:x64:mac && pnpm dist:mac:base --x64 --publish=never", |
140 |
| - "dist:mac:arm64": "pnpm pkgResetExtension:arm64:mac && pnpm dist:mac:base --arm64 --publish=never", |
141 |
| - "dist:win": "pnpm pkgResetExtension:x64:win && cross-env NODE_ENV_ELECTRON_VITE=production electron-vite build && cross-env ELECTRON_MIRROR=https://github.com/HyperPlay-Gaming/electron-releases/releases/download/ ELECTRON_CUSTOM_DIR=v33.2.0 electron-builder --win nsis --publish=never", |
142 |
| - "build-signed:win": "electron-vite build && cross-env ELECTRON_MIRROR=https://github.com/HyperPlay-Gaming/electron-releases/releases/download/ ELECTRON_CUSTOM_DIR=v33.2.0 electron-builder --win -c.win.certificateSubjectName=\"HyperPlay Labs Inc.\"", |
143 |
| - "lint": "eslint --cache -c .eslintrc.json --ext .tsx,ts ./src", |
144 |
| - "lint-fix": "eslint --fix -c .eslintrc.json --ext .tsx,ts ./src", |
145 |
| - "flatpak:build": "cd flatpak-build && flatpak-builder build xyz.hyperplay.HyperPlay.yml --install --force-clean --user", |
146 |
| - "flatpak:prepare": "node ./flatpak/prepareFlatpak.js", |
147 |
| - "flatpak:prepare-release": "node ./flatpak/prepareFlatpak.js release", |
148 |
| - "i18n": "i18next", |
149 |
| - "prepare": "husky install", |
150 |
| - "prettier": "prettier --check .", |
151 |
| - "prettier-fix": "prettier --write .", |
152 |
| - "pkgResetExtension:base": "node ./buildResetExtension.js", |
153 |
| - "pkgResetExtension:arm64:mac": "pnpm pkgResetExtension:base -t node18-macos-arm64", |
154 |
| - "pkgResetExtension:x64:mac": "pnpm pkgResetExtension:base -t node18-macos-x64", |
155 |
| - "pkgResetExtension:x64:win": "pnpm pkgResetExtension:base -t node18-win-x64", |
156 |
| - "pkgResetExtension:x64:linux": "pnpm pkgResetExtension:base -t node18-linux-x64" |
157 |
| - }, |
158 | 158 | "eslintConfig": {
|
159 | 159 | "extends": [
|
160 | 160 | "react-app",
|
|
198 | 198 | "@vitejs/plugin-react": "^4.3.1",
|
199 | 199 | "cross-env": "^7.0.3",
|
200 | 200 | "electron": "33.2.0",
|
201 |
| - "electron-builder": "^24.13.3", |
| 201 | + "electron-builder": "^25.1.8", |
202 | 202 | "electron-playwright-helpers": "^1.7.1",
|
203 | 203 | "electron-vite": "^2.3.0",
|
204 | 204 | "eslint": "^8.13.0",
|
|
224 | 224 | },
|
225 | 225 | "optionalDependencies": {
|
226 | 226 | "@hyperplay/extension-importer": "^0.1.1-alpha.0",
|
227 |
| - "@hyperplay/extension-provider": "^0.0.8", |
| 227 | + "@hyperplay/extension-provider": "^0.0.9", |
228 | 228 | "@hyperplay/mock-backend": "^0.0.1",
|
229 | 229 | "@hyperplay/overlay": "^0.0.7",
|
230 | 230 | "@hyperplay/patcher": "^0.0.18",
|
|
264 | 264 | "@hyperplay/overlay>electron": false,
|
265 | 265 | "sass>@parcel/watcher": false
|
266 | 266 | }
|
267 |
| - } |
| 267 | + }, |
| 268 | + "packageManager": "pnpm@9.15.0+sha256.09a8fe31a34fda706354680619f4002f4ccef6dadff93240d24ef6c831f0fd28" |
268 | 269 | }
|
0 commit comments