-
-
Notifications
You must be signed in to change notification settings - Fork 56
Expand file tree
/
Copy pathpackage.json
More file actions
133 lines (133 loc) Β· 3.79 KB
/
package.json
File metadata and controls
133 lines (133 loc) Β· 3.79 KB
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
{
"name": "masto",
"description": "Mastodon API client for JavaScript, TypeScript, Node.js, browsers",
"private": false,
"version": "7.10.2",
"author": "Ryo Igarashi <n33t5hin@gmail.com>",
"license": "MIT",
"type": "module",
"sideEffects": false,
"types": "./dist/esm/index.d.ts",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"exports": {
".": {
"require": {
"types": "./dist/cjs/index.d.ts",
"default": "./dist/cjs/index.js"
},
"import": {
"types": "./dist/esm/index.d.ts",
"default": "./dist/esm/index.js"
},
"default": "./dist/esm/index.js"
},
"./*.js": {
"require": {
"types": "./dist/cjs/*.d.ts",
"default": "./dist/cjs/*.js"
},
"import": {
"types": "./dist/esm/*.d.ts",
"default": "./dist/esm/*.js"
},
"default": "./dist/esm/*.js"
},
"./package.json": "./package.json"
},
"scripts": {
"test": "npm-run-all test:*",
"test:typecheck": "tsc --project tsconfig.test.json",
"test:unit": "vitest --project unit",
"test:e2e": "vitest --project e2e",
"lint": "eslint --report-unused-disable-directives --cache",
"spellcheck": "cspell --quiet --gitignore './**/*.{ts,js}'",
"format": "prettier './**/*.{ts,js}' --check",
"build": "npm-run-all build:* && tsconfig-to-dual-package tsconfig.esm.json tsconfig.cjs.json",
"build:esm": "tsc --project tsconfig.esm.json",
"build:cjs": "tsc --project tsconfig.cjs.json",
"prepublishOnly": "npm run build",
"docs:build": "typedoc ./src/index.ts && touch ./docs/.nojekyll",
"purge:cache": "rm -rf ./node_modules/.cache/masto"
},
"dependencies": {
"change-case": "^5.4.4",
"events-to-async": "^2.0.2",
"isomorphic-ws": "^5.0.0",
"ts-custom-error": "^3.3.1",
"ws": "^8.18.3"
},
"devDependencies": {
"@eslint/js": "^9.38.0",
"@size-limit/preset-small-lib": "^12.0.0",
"@tsconfig/node22": "^22.0.2",
"@types/eslint__js": "^8.42.3",
"@types/node": "^22.18.12",
"@types/ws": "^8.18.1",
"@typescript-eslint/rule-tester": "^8.48.0",
"@vitest/coverage-v8": "^3.2.4",
"cspell": "^9.2.2",
"eslint": "^9.38.0",
"eslint-config-prettier": "^10.1.8",
"eslint-import-resolver-typescript": "^4.4.4",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-simple-import-sort": "^12.1.1",
"eslint-plugin-unicorn": "^63.0.0",
"get-port": "^7.1.0",
"ioredis": "^5.8.2",
"iterator-helpers-polyfill": "^3.0.1",
"npm-run-all": "^4.1.5",
"prettier": "^3.6.2",
"size-limit": "^11.1.6",
"tsconfig-to-dual-package": "^1.2.0",
"tslib": "^2.7.0",
"typedoc": "^0.28.14",
"typedoc-plugin-missing-exports": "^4.1.2",
"typescript": "^5.9.3",
"typescript-eslint": "^8.46.2",
"undici": "^6.22.0",
"vitest": "^3.2.4"
},
"files": [
"README.md",
"dist",
"!**/__tests__",
"!**/__mocks__"
],
"repository": {
"type": "git",
"url": "git+https://github.com/neet/masto.js.git"
},
"keywords": [
"mastodon",
"client",
"activitypub",
"federated",
"fediverse"
],
"bugs": {
"url": "https://github.com/neet/masto.js/issues"
},
"homepage": "https://github.com/neet/masto.js#readme",
"size-limit": [
{
"name": "rest",
"limit": "4.0 kB",
"path": "./dist/esm/index.js",
"import": "{ createRestAPIClient }"
},
{
"name": "streaming",
"limit": "4.0 kB",
"path": "./dist/esm/index.js",
"import": "{ createStreamingAPIClient }"
},
{
"name": "oauth",
"limit": "4.0 kB",
"path": "./dist/esm/index.js",
"import": "{ createOAuthAPIClient }"
}
],
"packageManager": "npm@10.9.0+sha256.c12def16fe3efdc80b1e652d60903d807ac4b78b9e7c3e76f633f4b13a32897c"
}