UNPKG

twoot

Version:

toot and/or skeet. a lowest-common-denominator api for simplifying crossposting to mastodon and bsky

77 lines (76 loc) 2.06 kB
{ "name": "twoot", "type": "module", "version": "0.5.0", "description": "toot and/or skeet. a lowest-common-denominator api for simplifying crossposting to mastodon and bsky", "keywords": [ "mastodon", "bsky", "bluesky", "sns", "crosspost" ], "main": "dist/index.js", "types": "dist/index.d.ts", "author": "s <https://github.com/lostfictions>", "homepage": "https://github.com/lostfictions/twoot", "repository": { "type": "git", "url": "git+https://github.com/lostfictions/twoot.git" }, "bugs": { "url": "https://github.com/lostfictions/twoot/issues" }, "files": [ "!dist/**/*.test.*", "dist/" ], "exports": { ".": "./dist/index.js", "./skeet": "./dist/skeet.js", "./toot": "./dist/toot.js", "./raw/*": "./dist/raw-client/*.js" }, "license": "AGPL-3.0", "scripts": { "build": "rm -rf dist/ && tsc", "test": "run-p -cl test:*", "test:ts": "tsc --noEmit", "test:eslint": "eslint --color 'src/**/*.ts' --max-warnings=0", "test:vitest": "vitest run --color", "test:prettier": "prettier -l 'src/**/*'", "prettier": "prettier 'src/**/*' --write", "vitest": "vitest --color", "run-example": "ts-node -T example.ts", "prepublishOnly": "run-s -l test build" }, "dependencies": { "@atproto/api": "^0.14.20", "async-retry": "^1.3.3", "masto": "^5.4.0", "sharp": "^0.34.0" }, "devDependencies": { "@types/async-retry": "1.4.9", "@types/node": "^22.14.0", "dotenv": "^16.4.7", "eslint": "^9.24.0", "eslint-config-lostfictions": "7.0.0", "npm-run-all": "^4.1.5", "prettier": "^3.5.3", "ts-node": "^10.9.2", "typescript": "^5.8.3", "vitest": "^3.1.1", "znv": "^0.5.0", "zod": "^3.24.2" }, "engines": { "node": ">=22" }, "pnpm": { "onlyBuiltDependencies": [ "sharp" ] }, "packageManager": "pnpm@10.6.2+sha512.47870716bea1572b53df34ad8647b42962bc790ce2bf4562ba0f643237d7302a3d6a8ecef9e4bdfc01d23af1969aa90485d4cebb0b9638fa5ef1daef656f6c1b" }