barkey/packages/megalodon/package.json
2025-06-12 21:11:17 -04:00

69 lines
1.3 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 ./",
"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": {
"axios": "1.9.0",
"dayjs": "1.11.13",
"form-data": "4.0.2",
"oauth": "0.10.2",
"typescript": "5.8.3"
},
"devDependencies": {
"@types/jest": "29.5.14",
"@types/oauth": "0.9.6",
"jest": "29.7.0",
"jest-worker": "29.7.0",
"ts-jest": "29.3.4"
}
}