2023-09-23 09:49:47 -07:00
|
|
|
{
|
|
|
|
"name": "megalodon",
|
2023-09-24 16:49:57 -07:00
|
|
|
"version": "7.0.1",
|
|
|
|
"description": "Mastodon API client for node.js and browser",
|
2023-09-23 09:49:47 -07:00
|
|
|
"main": "./lib/src/index.js",
|
|
|
|
"typings": "./lib/src/index.d.ts",
|
|
|
|
"scripts": {
|
|
|
|
"build": "tsc -p ./",
|
2024-09-08 02:47:57 -07:00
|
|
|
"lint": "eslint --ext .js,.ts src --cache",
|
2023-09-23 09:49:47 -07:00
|
|
|
"doc": "typedoc --out ../docs ./src",
|
|
|
|
"test": "NODE_ENV=test jest -u --maxWorkers=3"
|
|
|
|
},
|
2023-09-24 16:49:57 -07:00
|
|
|
"engines": {
|
|
|
|
"node": ">=15.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"
|
|
|
|
},
|
2023-09-23 09:49:47 -07:00
|
|
|
"jest": {
|
|
|
|
"moduleFileExtensions": [
|
|
|
|
"ts",
|
|
|
|
"js"
|
|
|
|
],
|
|
|
|
"moduleNameMapper": {
|
|
|
|
"^@/(.+)": "<rootDir>/src/$1",
|
|
|
|
"^~/(.+)": "<rootDir>/$1"
|
|
|
|
},
|
|
|
|
"testMatch": [
|
|
|
|
"**/test/**/*.spec.ts"
|
|
|
|
],
|
|
|
|
"preset": "ts-jest/presets/default",
|
|
|
|
"transform": {
|
2023-11-22 14:40:27 -08:00
|
|
|
"^.+\\.(ts|tsx)$": [
|
|
|
|
"ts-jest",
|
|
|
|
{
|
|
|
|
"tsconfig": "tsconfig.json"
|
|
|
|
}
|
|
|
|
]
|
2023-09-23 09:49:47 -07:00
|
|
|
},
|
|
|
|
"testEnvironment": "node"
|
|
|
|
},
|
2023-09-24 16:49:57 -07:00
|
|
|
"homepage": "https://github.com/h3poteto/megalodon#readme",
|
2023-09-23 09:49:47 -07:00
|
|
|
"dependencies": {
|
2023-11-22 14:40:27 -08:00
|
|
|
"@types/core-js": "^2.5.8",
|
|
|
|
"@types/form-data": "^2.5.0",
|
|
|
|
"@types/jest": "^29.5.10",
|
|
|
|
"@types/oauth": "^0.9.4",
|
|
|
|
"@types/object-assign-deep": "^0.4.3",
|
|
|
|
"@types/parse-link-header": "^2.0.3",
|
|
|
|
"@types/uuid": "^9.0.7",
|
|
|
|
"@types/ws": "^8.5.10",
|
2023-11-29 17:29:50 -08:00
|
|
|
"axios": "1.6.0",
|
2023-11-22 14:40:27 -08:00
|
|
|
"dayjs": "^1.11.10",
|
2023-09-23 09:49:47 -07:00
|
|
|
"form-data": "^4.0.0",
|
2023-09-24 16:49:57 -07:00
|
|
|
"https-proxy-agent": "^7.0.2",
|
2023-09-23 09:49:47 -07:00
|
|
|
"oauth": "^0.10.0",
|
|
|
|
"object-assign-deep": "^0.4.0",
|
|
|
|
"parse-link-header": "^2.0.0",
|
2023-09-24 16:49:57 -07:00
|
|
|
"socks-proxy-agent": "^8.0.2",
|
|
|
|
"typescript": "5.1.6",
|
|
|
|
"uuid": "^9.0.1",
|
2023-11-22 14:40:27 -08:00
|
|
|
"ws": "8.14.2"
|
2023-10-28 15:50:00 -07:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2023-11-22 14:40:27 -08:00
|
|
|
"@typescript-eslint/eslint-plugin": "^6.12.0",
|
|
|
|
"@typescript-eslint/parser": "^6.12.0",
|
|
|
|
"eslint": "^8.54.0",
|
2023-09-24 16:49:57 -07:00
|
|
|
"eslint-config-prettier": "^9.0.0",
|
|
|
|
"jest": "^29.7.0",
|
|
|
|
"jest-worker": "^29.7.0",
|
2023-11-22 14:40:27 -08:00
|
|
|
"lodash": "4.17.21",
|
|
|
|
"prettier": "^3.1.0",
|
2023-09-24 16:49:57 -07:00
|
|
|
"ts-jest": "^29.1.1",
|
2023-11-22 14:40:27 -08:00
|
|
|
"typedoc": "^0.25.3"
|
2023-09-23 09:49:47 -07:00
|
|
|
}
|
|
|
|
}
|