barkey/packages/megalodon/package.json
2025-04-29 16:07:56 -04:00

75 lines
1.6 KiB
JSON

{
"name": "megalodon",
"version": "7.0.1",
"description": "Mastodon API client for node.js and browser",
"main": "./lib/src/index.js",
"typings": "./lib/src/index.d.ts",
"scripts": {
"build": "tsc -p ./",
"doc": "typedoc --out ../docs ./src",
"test": "cross-env NODE_ENV=test jest -u --maxWorkers=3"
},
"engines": {
"node": "^22.0.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/h3poteto/megalodon.git"
},
"keywords": [
"mastodon",
"client",
"api",
"streaming",
"rest",
"proxy"
],
"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": {
"@types/jest": "^29.5.10",
"@types/oauth": "^0.9.4",
"axios": "1.7.4",
"dayjs": "^1.11.10",
"form-data": "4.0.2",
"oauth": "0.10.2",
"typescript": "5.8.3"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "8.31.0",
"@typescript-eslint/parser": "8.31.0",
"eslint": "9.25.1",
"eslint-config-prettier": "^9.0.0",
"jest": "29.7.0",
"jest-worker": "29.7.0",
"prettier": "3.5.3",
"ts-jest": "^29.1.1"
}
}