UNPKG

battlemetrics-client

Version:

TypeScript client library for the BattleMetrics API

67 lines (66 loc) 2.1 kB
{ "name": "battlemetrics-client", "version": "0.3.1", "description": "TypeScript client library for the BattleMetrics API", "keywords": [ "battlemetrics", "api", "client", "typescript", "gaming" ], "homepage": "https://github.com/hizenxyz/battlemetrics-client#readme", "bugs": { "url": "https://github.com/hizenxyz/battlemetrics-client/issues" }, "repository": { "type": "git", "url": "git+https://github.com/hizenxyz/battlemetrics-client.git" }, "license": "MIT", "author": "hizenxyz", "type": "module", "main": "dist/index.js", "types": "dist/index.d.ts", "files": [ "dist", "README.md", "LICENSE" ], "scripts": { "build": "tsc", "dev": "tsc --watch", "lint": "eslint src/**/*.ts tests/**/*.ts", "lint:fix": "eslint src/**/*.ts tests/**/*.ts --fix", "format": "prettier --write \"src/**/*.{ts,js,json}\" \"tests/**/*.{ts,js,json}\" \"*.{js,json,md}\"", "format:check": "prettier --check \"src/**/*.{ts,js,json}\" \"tests/**/*.{ts,js,json}\" \"*.{js,json,md}\"", "typecheck": "tsc --noEmit", "test": "vitest run", "test:watch": "vitest", "test:ui": "vitest --ui", "test:coverage": "vitest run --coverage", "ci": "npm run typecheck && npm run lint && npm run test", "prepublishOnly": "npm run ci && npm run build", "release:patch": "npm version patch && git push origin main --follow-tags", "release:minor": "npm version minor && git push origin main --follow-tags", "release:major": "npm version major && git push origin main --follow-tags" }, "dependencies": { "axios": "^1.10.0" }, "devDependencies": { "@commitlint/cli": "^19.8.1", "@commitlint/config-conventional": "^19.8.1", "@eslint/js": "^9.29.0", "@types/node": "^24.0.4", "@typescript-eslint/eslint-plugin": "^8.35.0", "@typescript-eslint/parser": "^8.35.0", "@vitest/ui": "^3.2.4", "eslint": "^9.29.0", "lefthook": "^1.11.14", "prettier": "^3.6.1", "typescript": "^5.8.3", "typescript-eslint": "^8.35.0", "vitest": "^3.2.4" } }