UNPKG

masto

Version:

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

107 lines (106 loc) 3.14 kB
{ "name": "masto", "description": "Mastodon API client for JavaScript, TypeScript, Node.js, browsers", "private": false, "version": "6.10.3", "author": "Ryo Igarashi <n33t5hin@gmail.com>", "license": "MIT", "type": "module", "sideEffects": false, "types": "./dist/index.d.ts", "main": "./dist/index.cjs", "module": "./dist/index.js", "exports": { ".": { "types": { "require": "./dist/index.d.cts", "import": "./dist/index.d.ts" }, "require": "./dist/index.cjs", "import": "./dist/index.js" } }, "scripts": { "test": "npm-run-all test:*", "test:unit": "jest --coverage --config=jest.config.js --selectProjects unit", "test:e2e": "jest --coverage --config=jest.config.js --selectProjects 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": "rollup -c rollup.config.js", "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", "@rollup/plugin-commonjs": "^28.0.0", "@rollup/plugin-json": "^6.1.0", "@rollup/plugin-typescript": "^12.1.0", "@sadams/wait-for-expect": "^1.1.0", "@size-limit/preset-small-lib": "^11.1.6", "@types/eslint__js": "^8.42.3", "@types/jest": "^29.5.13", "@types/node": "^22.7.5", "@types/ws": "^8.5.12", "cspell": "^8.15.2", "eslint": "^9.12.0", "eslint-config-prettier": "^9.1.0", "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", "jest": "^29.6.4", "npm-run-all": "^4.1.5", "prettier": "^3.3.3", "rollup": "^4.24.0", "rollup-plugin-auto-external": "^2.0.0", "rollup-plugin-dts": "^6.1.1", "rollup-plugin-node-globals": "^1.4.0", "size-limit": "^11.1.6", "ts-jest": "^29.2.5", "tslib": "^2.7.0", "typedoc": "^0.26.9", "typescript": "^5.6.3", "typescript-eslint": "^8.9.0", "undici": "^6.20.1" }, "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": [ { "limit": "7.0 kB", "path": "./dist/index.js" } ], "packageManager": "npm@10.9.0+sha256.c12def16fe3efdc80b1e652d60903d807ac4b78b9e7c3e76f633f4b13a32897c" }