UNPKG

megalodon

Version:

Fediverse API client for node.js and browser

95 lines 2.28 kB
{ "name": "megalodon", "version": "10.1.1", "description": "Fediverse API client for node.js and browser", "main": "./lib/src/index.js", "typings": "./lib/src/index.d.ts", "module": "./lib/esm/src/index.js", "scripts": { "build": "tsc -p ./ && tsc -p tsconfig.mjs.json", "lint": "eslint --ext .js,.ts src", "doc": "typedoc --out ../docs ./src", "test": "NODE_ENV=test jest -u --maxWorkers=3" }, "engines": { "node": ">=22.11.0" }, "files": [ "/lib/src/**", "/lib/esm/**" ], "repository": { "type": "git", "url": "git+https://github.com/h3poteto/megalodon.git" }, "keywords": [ "mastodon", "client", "api", "streaming", "rest", "activitypub", "federated", "fediverse" ], "author": "h3poteto", "license": "MIT", "bugs": { "url": "https://github.com/h3poteto/megalodon/issues" }, "jest": { "moduleFileExtensions": [ "ts", "js" ], "moduleNameMapper": { "^@/(.+)": "<rootDir>/src/$1", "^~/(.+)": "<rootDir>/$1" }, "testMatch": [ "**/test/**/*.spec.ts" ], "preset": "ts-jest/presets/default", "transform": { "^.+\\.(ts|tsx)$": [ "ts-jest", { "tsconfig": "tsconfig.json" } ] }, "testEnvironment": "node" }, "homepage": "https://github.com/h3poteto/megalodon#readme", "dependencies": { "@badgateway/oauth2-client": "^2.4.2", "@types/ws": "^8.5.13", "axios": "1.7.9", "dayjs": "^1.11.13", "events": "^3.3.0", "form-data": "^4.0.1", "isomorphic-ws": "^5.0.0", "object-assign-deep": "^0.4.0", "uuid": "^11.0.3", "ws": "8.18.0" }, "devDependencies": { "@types/core-js": "^2.5.8", "@types/form-data": "^2.5.2", "@types/jest": "^29.5.14", "@types/object-assign-deep": "^0.4.3", "@types/uuid": "^10.0.0", "@typescript-eslint/eslint-plugin": "^8.19.1", "@typescript-eslint/parser": "^8.19.1", "eslint": "^9.17.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-prettier": "^5.2.1", "jest": "^29.7.0", "jest-worker": "^29.7.0", "lodash": "^4.17.21", "prettier": "^3.4.2", "ts-jest": "^29.2.5", "typedoc": "^0.26.11", "typescript": "5.4.5" } }