misskey/packages/misskey-js/package.json

64 lines
1.6 KiB
JSON
Raw Normal View History

{
2024-05-07 04:07:16 +02:00
"type": "module",
"name": "misskey-js",
2024-07-30 10:39:38 +02:00
"version": "2024.7.0-rc.6",
2024-05-07 04:07:16 +02:00
"description": "Misskey SDK for JavaScript",
"license": "MIT",
2024-05-07 04:07:16 +02:00
"main": "./built/index.js",
"types": "./built/index.d.ts",
"exports": {
".": {
"import": "./built/index.js",
"types": "./built/index.d.ts"
},
"./*": {
"import": "./built/*",
"types": "./built/*"
}
},
"scripts": {
"build": "node ./build.js",
"watch": "nodemon -w package.json -e json --exec \"node ./build.js --watch\"",
"tsd": "tsd",
"api": "pnpm api-extractor run --local --verbose",
"api-prod": "pnpm api-extractor run --verbose",
"eslint": "eslint './**/*.{js,jsx,ts,tsx}'",
2024-05-07 04:07:16 +02:00
"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": "https://github.com/misskey-dev/misskey.git",
"directory": "packages/misskey-js"
2024-05-07 04:07:16 +02:00
},
"devDependencies": {
2024-07-28 04:14:31 +02:00
"@microsoft/api-extractor": "7.47.4",
2024-05-07 04:07:16 +02:00
"@swc/jest": "0.2.36",
"@types/jest": "29.5.12",
2024-07-28 04:14:31 +02:00
"@types/node": "20.14.12",
"@typescript-eslint/eslint-plugin": "7.17.0",
"@typescript-eslint/parser": "7.17.0",
2024-05-07 04:07:16 +02:00
"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",
2024-07-28 04:14:31 +02:00
"execa": "9.3.0",
"tsd": "0.31.1",
2024-07-28 04:14:31 +02:00
"typescript": "5.5.4",
"esbuild": "0.23.0",
"glob": "11.0.0"
2024-05-07 04:07:16 +02:00
},
"files": [
"built"
],
"dependencies": {
"eventemitter3": "5.0.1",
"reconnecting-websocket": "4.4.0"
}
}