130 lines
4.6 KiB
JSON
130 lines
4.6 KiB
JSON
{
|
|
"name": "prismarine-web-client",
|
|
"version": "0.0.0-dev",
|
|
"description": "A minecraft client running in a browser",
|
|
"scripts": {
|
|
"start": "node scripts/build.js copyFilesDev && node scripts/prepareData.mjs && node esbuild.mjs --watch",
|
|
"start-watch-script": "nodemon -w esbuild.mjs esbuild.mjs",
|
|
"build": "node scripts/build.js copyFiles && node scripts/prepareData.mjs -f && node esbuild.mjs --minify --prod",
|
|
"check-build": "tsc && pnpm test-unit && pnpm build",
|
|
"test:cypress": "cypress run",
|
|
"test-unit": "vitest",
|
|
"test:e2e": "start-test http-get://localhost:8080 test:cypress",
|
|
"prod-start": "node server.js",
|
|
"postinstall": "node scripts/gen-texturepack-files.mjs && tsx scripts/optimizeBlockCollisions.ts",
|
|
"test-mc-server": "tsx cypress/minecraft-server.mjs",
|
|
"lint": "eslint \"{src,cypress}/**/*.{ts,js,jsx,tsx}\"",
|
|
"storybook": "storybook dev -p 6006",
|
|
"build-storybook": "storybook build",
|
|
"start-experiments": "vite --config experiments/vite.config.ts",
|
|
"watch-worker": "node prismarine-viewer/buildWorker.mjs -w"
|
|
},
|
|
"keywords": [
|
|
"prismarine",
|
|
"web",
|
|
"client"
|
|
],
|
|
"author": "PrismarineJS",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"@dimaka/interface": "0.0.3-alpha.0",
|
|
"@floating-ui/react": "^0.26.1",
|
|
"@types/react": "^18.2.20",
|
|
"@types/react-dom": "^18.2.7",
|
|
"@types/wicg-file-system-access": "^2023.10.2",
|
|
"@xmcl/text-component": "^2.1.3",
|
|
"@zardoy/react-util": "^0.2.0",
|
|
"@zardoy/utils": "^0.0.11",
|
|
"browserfs": "github:zardoy/browserfs#build",
|
|
"change-case": "^5.1.2",
|
|
"compression": "^1.7.4",
|
|
"cors": "^2.8.5",
|
|
"cypress-plugin-snapshots": "^1.4.4",
|
|
"debug": "^4.3.4",
|
|
"eruda": "^3.0.1",
|
|
"esbuild": "^0.19.3",
|
|
"esbuild-plugin-polyfill-node": "^0.3.0",
|
|
"express": "^4.18.2",
|
|
"flying-squid": "github:zardoy/space-squid#everything",
|
|
"fs-extra": "^11.1.1",
|
|
"iconify-icon": "^1.0.8",
|
|
"jszip": "^3.10.1",
|
|
"lit": "^2.8.0",
|
|
"lodash-es": "^4.17.21",
|
|
"minecraft-assets": "^1.9.1",
|
|
"minecraft-data": "3.48.0",
|
|
"net-browserify": "github:zardoy/prismarinejs-net-browserify",
|
|
"node-gzip": "^1.1.2",
|
|
"peerjs": "^1.5.0",
|
|
"pretty-bytes": "^6.1.1",
|
|
"qrcode.react": "^3.1.0",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"react-transition-group": "^4.4.5",
|
|
"sanitize-filename": "^1.6.3",
|
|
"stats-gl": "^1.0.5",
|
|
"stats.js": "^0.17.0",
|
|
"tabbable": "^6.2.0",
|
|
"title-case": "3.x",
|
|
"valtio": "^1.11.1",
|
|
"workbox-build": "^7.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@storybook/addon-essentials": "^7.4.6",
|
|
"@storybook/addon-links": "^7.4.6",
|
|
"@storybook/blocks": "^7.4.6",
|
|
"@storybook/react": "^7.4.6",
|
|
"@storybook/react-vite": "^7.4.6",
|
|
"@storybook/web-components": "^7.4.6",
|
|
"@storybook/web-components-vite": "^7.4.6",
|
|
"@types/lodash-es": "^4.17.9",
|
|
"@types/react-transition-group": "^4.4.7",
|
|
"@types/stats.js": "^0.17.1",
|
|
"@types/three": "0.128.0",
|
|
"@xmcl/installer": "^5.1.0",
|
|
"assert": "^2.0.0",
|
|
"browserify-zlib": "^0.2.0",
|
|
"buffer": "^6.0.3",
|
|
"constants-browserify": "^1.0.0",
|
|
"contro-max": "^0.1.1",
|
|
"crypto-browserify": "^3.12.0",
|
|
"cypress": "^9.5.4",
|
|
"cypress-esbuild-preprocessor": "^1.0.2",
|
|
"eslint": "^8.50.0",
|
|
"eslint-config-zardoy": "^0.2.17",
|
|
"events": "^3.3.0",
|
|
"filesize": "^10.0.12",
|
|
"http-browserify": "^1.7.0",
|
|
"http-server": "^14.1.1",
|
|
"https-browserify": "^1.0.0",
|
|
"minecraft-inventory-gui": "github:zardoy/minecraft-inventory-gui#next",
|
|
"mineflayer": "github:zardoy/mineflayer#custom",
|
|
"mineflayer-pathfinder": "^2.4.4",
|
|
"npm-run-all": "^4.1.5",
|
|
"os-browserify": "^0.3.0",
|
|
"path-browserify": "^1.0.1",
|
|
"path-exists-cli": "^2.0.0",
|
|
"prismarine-viewer": "link:prismarine-viewer",
|
|
"process": "github:PrismarineJS/node-process",
|
|
"rimraf": "^5.0.1",
|
|
"storybook": "^7.4.6",
|
|
"stream-browserify": "^3.0.0",
|
|
"three": "0.128.0",
|
|
"timers-browserify": "^2.0.12",
|
|
"typescript": "^5.2.2",
|
|
"use-typed-event-listener": "^4.0.2",
|
|
"vitest": "^0.34.6",
|
|
"yaml": "^2.3.2"
|
|
},
|
|
"pnpm": {
|
|
"overrides": {
|
|
"diamond-square": "github:zardoy/diamond-square",
|
|
"prismarine-block": "github:zardoy/prismarine-block#next-era",
|
|
"prismarine-world": "github:zardoy/prismarine-world#next-era",
|
|
"minecraft-data": "3.48.0",
|
|
"prismarine-provider-anvil": "github:zardoy/prismarine-provider-anvil#everything",
|
|
"minecraft-protocol": "github:zardoy/minecraft-protocol#custom-client-extra",
|
|
"react": "^18.2.0"
|
|
}
|
|
}
|
|
}
|