{ "type": "module", "name": "misskey-js", "version": "2024.5.0-oscar.17", "description": "Misskey SDK for JavaScript", "types": "./built/dts/index.d.ts", "exports": { ".": { "import": "./built/esm/index.js", "types": "./built/dts/index.d.ts" }, "./*": { "import": "./built/esm/*", "types": "./built/dts/*" } }, "scripts": { "build": "pnpm run build:tsc", "build:tsc": "pnpm tsc-esm && pnpm tsc-dts", "tsc-esm": "tsc --outDir built/esm", "tsc-dts": "tsc --outDir built/dts --declaration true --emitDeclarationOnly true --declarationMap true", "watch": "nodemon -w src -e ts,js,cjs,mjs,json --exec \"pnpm run build\"", "tsd": "tsd", "api": "pnpm api-extractor run --local --verbose", "api-prod": "pnpm api-extractor run --verbose", "eslint": "eslint . --ext .js,.jsx,.ts,.tsx", "typecheck": "tsc --noEmit", "lint": "pnpm typecheck && pnpm eslint", "jest": "jest --coverage --detectOpenHandles", "test": "pnpm jest && pnpm tsd", "update-autogen-code": "pnpm --filter misskey-js-type-generator generate && ncp generator/built/autogen src/autogen" }, "repository": { "type": "git", "url": "git+https://github.com/misskey-dev/misskey.js.git" }, "devDependencies": { "@microsoft/api-extractor": "7.47.5", "@misskey-dev/eslint-plugin": "1.0.0", "@swc/jest": "0.2.36", "@types/jest": "29.5.12", "@types/node": "22.2.0", "@typescript-eslint/eslint-plugin": "7.10.0", "@typescript-eslint/parser": "7.10.0", "eslint": "8.57.0", "jest": "29.7.0", "jest-fetch-mock": "3.0.3", "jest-websocket-mock": "2.5.0", "mock-socket": "9.3.1", "ncp": "2.0.0", "nodemon": "3.1.4", "tsd": "0.31.1", "typescript": "5.5.4" }, "files": [ "built", "built/esm", "built/dts" ], "dependencies": { "@swc/cli": "0.3.12", "@swc/core": "1.5.7", "eventemitter3": "5.0.1", "reconnecting-websocket": "4.4.0" } }