2023-03-30 09:33:19 +09:00
|
|
|
{
|
2024-01-20 13:57:03 +09:00
|
|
|
"type": "module",
|
2023-03-30 09:33:19 +09:00
|
|
|
"name": "misskey-js",
|
2024-03-02 17:06:01 +09:00
|
|
|
"version": "2024.3.1",
|
2023-03-30 09:33:19 +09:00
|
|
|
"description": "Misskey SDK for JavaScript",
|
2024-03-30 15:28:19 +09:00
|
|
|
"main": "./built/index.js",
|
|
|
|
"types": "./built/index.d.ts",
|
2024-01-20 13:57:03 +09:00
|
|
|
"exports": {
|
|
|
|
".": {
|
2024-03-30 15:28:19 +09:00
|
|
|
"import": "./built/index.js",
|
|
|
|
"types": "./built/index.d.ts"
|
2024-01-20 13:57:03 +09:00
|
|
|
},
|
|
|
|
"./*": {
|
2024-03-30 15:28:19 +09:00
|
|
|
"import": "./built/*",
|
|
|
|
"types": "./built/*"
|
2024-01-20 13:57:03 +09:00
|
|
|
}
|
|
|
|
},
|
2023-03-30 09:33:19 +09:00
|
|
|
"scripts": {
|
2024-03-30 15:28:19 +09:00
|
|
|
"build": "node ./build.js",
|
|
|
|
"watch": "nodemon -w package.json -e json --exec \"node ./build.js --watch\"",
|
2023-03-30 09:33:19 +09:00
|
|
|
"tsd": "tsd",
|
|
|
|
"api": "pnpm api-extractor run --local --verbose",
|
|
|
|
"api-prod": "pnpm api-extractor run --verbose",
|
2023-03-30 13:46:25 +09:00
|
|
|
"eslint": "eslint . --ext .js,.jsx,.ts,.tsx",
|
|
|
|
"typecheck": "tsc --noEmit",
|
|
|
|
"lint": "pnpm typecheck && pnpm eslint",
|
2023-03-30 09:33:19 +09:00
|
|
|
"jest": "jest --coverage --detectOpenHandles",
|
2023-12-02 21:00:05 +09:00
|
|
|
"test": "pnpm jest && pnpm tsd",
|
|
|
|
"update-autogen-code": "pnpm --filter misskey-js-type-generator generate && ncp generator/built/autogen src/autogen"
|
2023-03-30 09:33:19 +09:00
|
|
|
},
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "git+https://github.com/misskey-dev/misskey.js.git"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
2024-01-21 18:43:01 +09:00
|
|
|
"@microsoft/api-extractor": "7.39.1",
|
|
|
|
"@misskey-dev/eslint-plugin": "1.0.0",
|
|
|
|
"@swc/jest": "0.2.31",
|
2024-02-29 11:10:03 +09:00
|
|
|
"@types/jest": "29.5.12",
|
|
|
|
"@types/node": "20.11.22",
|
2024-03-01 13:52:39 +09:00
|
|
|
"@typescript-eslint/eslint-plugin": "7.1.0",
|
|
|
|
"@typescript-eslint/parser": "7.1.0",
|
|
|
|
"eslint": "8.57.0",
|
2023-09-15 14:28:29 +09:00
|
|
|
"jest": "29.7.0",
|
2023-04-06 20:29:17 +09:00
|
|
|
"jest-fetch-mock": "3.0.3",
|
2023-09-15 14:28:29 +09:00
|
|
|
"jest-websocket-mock": "2.5.0",
|
|
|
|
"mock-socket": "9.3.1",
|
2023-12-14 20:16:02 +09:00
|
|
|
"ncp": "2.0.0",
|
2024-02-29 11:10:03 +09:00
|
|
|
"nodemon": "3.1.0",
|
2024-03-30 15:28:19 +09:00
|
|
|
"execa": "8.0.1",
|
2024-02-29 11:10:03 +09:00
|
|
|
"tsd": "0.30.7",
|
2024-03-30 15:28:19 +09:00
|
|
|
"typescript": "5.3.3",
|
|
|
|
"esbuild": "0.19.11",
|
|
|
|
"glob": "10.3.10"
|
2023-03-30 09:33:19 +09:00
|
|
|
},
|
|
|
|
"files": [
|
2024-03-30 15:28:19 +09:00
|
|
|
"built"
|
2023-03-30 09:33:19 +09:00
|
|
|
],
|
|
|
|
"dependencies": {
|
2023-05-02 20:52:36 +09:00
|
|
|
"eventemitter3": "5.0.1",
|
2023-04-06 20:22:26 +09:00
|
|
|
"reconnecting-websocket": "4.4.0"
|
2023-03-30 09:33:19 +09:00
|
|
|
}
|
|
|
|
}
|