mistykey/packages/megalodon/package.json
2025-11-05 19:41:08 -05:00

58 lines
1.6 KiB
JSON

{
"name": "megalodon",
"type": "module",
"version": "7.0.1",
"private": true,
"description": "Mastodon API client for node.js and browser",
"main": "./built/lib/index.js",
"typings": "./built/lib/index.d.ts",
"scripts": {
"build": "tsc -p src/lib/tsconfig.json",
"typecheck-all": "pnpm run --no-bail typecheck:lib && pnpm run --no-bail typecheck:test",
"typecheck": "pnpm run typecheck:lib && pnpm run typecheck:test",
"typecheck:lib": "tsc -p src/lib/tsconfig.json --noEmit",
"typecheck:test": "tsc -p src/test/tsconfig.json --noEmit",
"lint": "pnpm run typecheck",
"jest": "cross-env NODE_ENV=test node --no-experimental-require-module --experimental-vm-modules --experimental-import-meta-resolve node_modules/jest/bin/jest.js --coverage --detectOpenHandles",
"test": "pnpm run jest"
},
"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"
},
"homepage": "https://github.com/h3poteto/megalodon#readme",
"dependencies": {
"axios": "1.12.2",
"dayjs": "1.11.18",
"form-data": "4.0.4",
"oauth": "0.10.2"
},
"devDependencies": {
"@jest/globals": "30.1.2",
"@types/jest": "30.0.0",
"@types/node": "22.18.1",
"@types/oauth": "0.9.6",
"jest": "30.1.3",
"jest-mock": "30.0.5",
"jest-worker": "30.1.0",
"ts-jest": "29.4.4",
"ts-node": "10.9.2",
"typescript": "5.9.2"
}
}