masto
Version:
Mastodon API client for JavaScript, TypeScript, Node.js, browsers
105 lines • 3.17 kB
JSON
{
"name": "masto",
"description": "Mastodon API client for JavaScript, TypeScript, Node.js, browsers",
"private": false,
"version": "7.11.1",
"author": "Ryo Igarashi <n33t5hin@gmail.com>",
"license": "MIT",
"type": "module",
"sideEffects": false,
"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"
}