UNPKG

@atproto/api

Version:

Client library for atproto and Bluesky

51 lines 1.56 kB
{ "name": "@atproto/api", "version": "0.20.14", "engines": { "node": ">=22" }, "license": "MIT", "description": "Client library for atproto and Bluesky", "keywords": [ "atproto", "bluesky", "api" ], "homepage": "https://atproto.com", "repository": { "type": "git", "url": "https://github.com/bluesky-social/atproto", "directory": "packages/api" }, "dependencies": { "await-lock": "^3.0.0", "multiformats": "^13.0.0", "tlds": "^1.234.0", "zod": "^3.23.8", "@atproto/common-web": "^0.5.0", "@atproto/lexicon": "^0.7.1", "@atproto/syntax": "^0.6.1", "@atproto/xrpc": "^0.8.0" }, "devDependencies": { "@jest/globals": "^28.1.3", "jest": "^30.0.0", "prettier": "^3.2.5", "typescript": "^6.0.3", "@atproto/lex-cli": "^0.10.0" }, "type": "module", "exports": { ".": { "types": "./dist/index.d.ts", "default": "./dist/index.js" } }, "scripts": { "codegen:lex": "lex gen-api --yes ./src/client ../../lexicons/com/atproto/*/* ../../lexicons/app/bsky/*/* ../../lexicons/chat/bsky/*/* ../../lexicons/tools/ozone/*/* ../../lexicons/com/germnetwork/*", "codegen:code": "node ./scripts/generate-code.mjs", "prebuild": "pnpm run codegen:code && if [ ! -f ./src/client/index.ts ] || [ -n \"$(find ../../lexicons -name '*.json' -newer ./src/client/index.ts -type f -print -quit)\" ]; then pnpm run codegen:lex; fi", "build": "tsc --build tsconfig.build.json", "test": "NODE_OPTIONS=--experimental-vm-modules jest" } }