misskey/packages/misskey-js/package.json

67 lines
1.8 KiB
JSON
Raw Normal View History

{
2024-01-20 13:57:03 +09:00
"type": "module",
"name": "misskey-js",
"version": "2024.5.0-oscar.19c",
"description": "Misskey SDK for JavaScript",
"types": "./built/dts/index.d.ts",
2024-01-20 13:57:03 +09:00
"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",
2023-03-30 13:46:25 +09:00
"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": {
2024-10-21 10:53:59 +09:00
"@microsoft/api-extractor": "7.47.11",
2024-01-21 18:43:01 +09:00
"@misskey-dev/eslint-plugin": "1.0.0",
2024-11-06 05:21:24 +09:00
"@swc/jest": "0.2.37",
"@types/jest": "29.5.14",
"@types/node": "22.9.0",
"@typescript-eslint/eslint-plugin": "7.10.0",
"@typescript-eslint/parser": "7.10.0",
2024-10-21 10:53:59 +09:00
"eslint": "8.57.1",
"jest": "29.7.0",
2023-04-06 20:29:17 +09:00
"jest-fetch-mock": "3.0.3",
"jest-websocket-mock": "2.5.0",
"mock-socket": "9.3.1",
"ncp": "2.0.0",
2024-10-21 10:53:59 +09:00
"nodemon": "3.1.7",
"tsd": "0.31.2",
"typescript": "5.6.3"
},
"files": [
"built",
"built/esm",
"built/dts"
],
"dependencies": {
2024-11-06 05:21:24 +09:00
"@swc/cli": "0.5.0",
2024-11-08 15:10:10 +09:00
"@swc/core": "1.9.1",
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"
}
}