UNPKG

@xmcl/user

Version:

Minecraft user related functions, including Yggdrasil authenticator, player skin fetcher, and Mojang security API

52 lines 1.71 kB
{ "name": "@xmcl/user", "version": "4.3.0", "main": "./dist/index.js", "description": "Minecraft user related functions, including Yggdrasil authenticator, player skin fetcher, and Mojang security API", "engines": { "node": ">=20" }, "publishConfig": { "access": "public" }, "dependencies": { "undici": "7.2.3", "uuid": "^9.0.0" }, "sideEffects": false, "repository": { "type": "git", "url": "git+https://github.com/Voxelum/minecraft-launcher-core-node.git" }, "author": "cijhn@hotmail.com", "keywords": [ "minecraft", "typescript", "minecraft-launcher", "nodejs", "electron", "yggdrasil-authentication", "minecraft-skin", "microsoft-authentication" ], "license": "MIT", "bugs": { "url": "https://github.com/Voxelum/minecraft-launcher-core-node/issues" }, "homepage": "https://github.com/Voxelum/minecraft-launcher-core-node#readme", "devDependencies": { "@types/uuid": "^9.0.1", "esbuild": "^0.17.16", "typescript": "^5.3.3", "user-offline-uuid": "0.1.0", "undici-shim": "0.0.2" }, "scripts": { "build:type": "tsc", "build:cjs": "esbuild --target=node16 --external:undici --external:uuid --platform=node --sourcemap --format=cjs --bundle --outfile=dist/index.js index.ts", "build:esm": "esbuild --target=node16 --external:undici --external:uuid --platform=node --sourcemap --format=esm --bundle --outfile=dist/index.mjs index.ts", "build:browser": "esbuild --target=es2020 --sourcemap --external:uuid --alias:undici=undici-shim --format=esm --bundle --outfile=dist/index.browser.mjs index.ts" }, "module": "./dist/index.mjs", "browser": "./dist/index.browser.mjs" }