UNPKG

@shulkers/api-fetcher

Version:

A comprehensive TypeScript API wrapper for Minecraft plugin repositories (Spiget, Modrinth, Hangar)

66 lines (65 loc) 1.82 kB
{ "name": "@shulkers/api-fetcher", "version": "1.0.0", "description": "A comprehensive TypeScript API wrapper for Minecraft plugin repositories (Spiget, Modrinth, Hangar)", "type": "module", "main": "./dist/cjs/index.cjs", "module": "./dist/esm/index.js", "types": "./dist/types/index.d.ts", "exports": { ".": { "import": { "types": "./dist/types/index.d.ts", "default": "./dist/esm/index.js" }, "require": { "types": "./dist/types/index.d.ts", "default": "./dist/cjs/index.cjs" } } }, "files": [ "dist", "README.md" ], "scripts": { "build": "bun run build:types && bun run build:esm && bun run build:cjs", "build:types": "tsc --emitDeclarationOnly --outDir dist/types", "build:esm": "bun build src/index.ts --outdir dist/esm --format esm --target node", "build:cjs": "bun build src/index.ts --outfile dist/cjs/index.cjs --format cjs --target node --external ky", "clean": "rimraf dist", "prepublishOnly": "bun run clean && bun run build", "release": "npm publish --access public" }, "keywords": [ "minecraft", "spigot", "spiget", "modrinth", "hangar", "papermc" ], "author": "Crysta1221", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/Crysta1221/shulkers.git", "directory": "packages/api-fetcher" }, "bugs": { "url": "https://github.com/Crysta1221/shulkers/issues" }, "homepage": "https://github.com/Crysta1221/shulkers#readme", "dependencies": { "ky": "^1.8.1" }, "devDependencies": { "@types/bun": "latest", "rimraf": "^5.0.5", "typescript": "^5" }, "engines": { "node": ">=22", "bun": ">=1.0.0" } }