UNPKG

masto

Version:

Mastodon API client for JavaScript, TypeScript, Node.js, browsers

104 lines 3.11 kB
{ "name": "masto", "description": "Mastodon API client for JavaScript, TypeScript, Node.js, browsers", "private": false, "version": "7.1.0", "author": "Ryo Igarashi <n33t5hin@gmail.com>", "license": "MIT", "type": "commonjs", "sideEffects": false, "scripts": { "test": "npm-run-all test:*", "test:unit": "vitest --project unit", "test:e2e": "vitest --project e2e", "lint": "npm-run-all lint:*", "lint:eslint": "eslint --report-unused-disable-directives --cache", "lint:spellcheck": "cspell --quiet '{src,test,test-utils}/**/*.{ts,tsx,js,json,md}'", "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": "^4.1.2", "events-to-async": "^2.0.1", "isomorphic-ws": "^5.0.0", "ts-custom-error": "^3.3.1", "ws": "^8.18.0" }, "devDependencies": { "@eslint/js": "^9.12.0", "@sadams/wait-for-expect": "^1.1.0", "@size-limit/preset-small-lib": "^11.1.6", "@tsconfig/node22": "^22.0.1", "@types/eslint__js": "^8.42.3", "@types/node": "^22.7.5", "@types/ws": "^8.5.12", "@vitest/coverage-v8": "^3.1.2", "cspell": "^8.15.2", "eslint": "^9.12.0", "eslint-config-prettier": "^9.1.0", "eslint-import-resolver-typescript": "^4.3.4", "eslint-plugin-import": "^2.31.0", "eslint-plugin-prettier": "^5.1.3", "eslint-plugin-simple-import-sort": "^12.1.1", "eslint-plugin-unicorn": "^56.0.0", "get-port": "^5.1.1", "ioredis": "^5.4.1", "iterator-helpers-polyfill": "^3.0.1", "npm-run-all": "^4.1.5", "prettier": "^3.3.3", "size-limit": "^11.1.6", "tsconfig-to-dual-package": "^1.2.0", "tslib": "^2.7.0", "typedoc": "^0.27.6", "typescript": "^5.6.3", "typescript-eslint": "^8.9.0", "undici": "^6.20.1", "vitest": "^3.1.2" }, "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" }