@cutls/megalodon
Version:
Mastodon API client for node.js and browser
97 lines (96 loc) • 2.31 kB
JSON
{
"name": "@cutls/megalodon",
"version": "6.0.28",
"description": "Mastodon 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": ">=20.12.2"
},
"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.3.0",
"@types/ws": "^8.5.10",
"autolinker": "^4.0.0",
"axios": "1.6.8",
"dayjs": "^1.11.11",
"events": "^3.3.0",
"form-data": "^4.0.0",
"isomorphic-ws": "^5.0.0",
"object-assign-deep": "^0.4.0",
"uuid": "^9.0.1",
"ws": "8.17.0"
},
"devDependencies": {
"@types/core-js": "^2.5.8",
"@types/form-data": "^2.5.0",
"@types/jest": "^29.5.12",
"@types/object-assign-deep": "^0.4.3",
"@types/uuid": "^9.0.8",
"@typescript-eslint/eslint-plugin": "^7.7.1",
"@typescript-eslint/parser": "^7.7.1",
"eslint": "^9.1.1",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"jest": "^29.7.0",
"jest-worker": "^29.7.0",
"lodash": "^4.17.21",
"prettier": "^3.2.5",
"ts-jest": "^29.1.2",
"typedoc": "^0.25.13",
"typescript": "5.4.5"
}
}