summaryrefslogtreecommitdiff
path: root/packages/megalodon/package.json
blob: 4c7f9750de1effc747c05af2dffb5e71775877d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
{
	"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"
	}
}