2023-03-30 00:33:19 +00:00
|
|
|
{
|
2024-01-20 04:57:03 +00:00
|
|
|
"type": "module",
|
2023-03-30 00:33:19 +00:00
|
|
|
"name": "misskey-js",
|
2024-02-17 21:22:33 +00:00
|
|
|
"version": "2024.2.0-io.2b",
|
2023-03-30 00:33:19 +00:00
|
|
|
"description": "Misskey SDK for JavaScript",
|
2024-01-22 09:01:54 +00:00
|
|
|
"types": "./built/dts/index.d.ts",
|
2024-01-20 04:57:03 +00:00
|
|
|
"exports": {
|
|
|
|
".": {
|
|
|
|
"import": "./built/esm/index.js",
|
|
|
|
"types": "./built/dts/index.d.ts"
|
|
|
|
},
|
|
|
|
"./*": {
|
|
|
|
"import": "./built/esm/*",
|
|
|
|
"types": "./built/dts/*"
|
|
|
|
}
|
|
|
|
},
|
2023-03-30 00:33:19 +00:00
|
|
|
"scripts": {
|
2024-02-09 11:21:27 +00:00
|
|
|
"build": "pnpm run build:tsc",
|
|
|
|
"build:tsc": "pnpm tsc-esm && pnpm tsc-dts",
|
2024-01-30 20:10:06 +00:00
|
|
|
"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\"",
|
2023-03-30 00:33:19 +00:00
|
|
|
"tsd": "tsd",
|
|
|
|
"api": "pnpm api-extractor run --local --verbose",
|
|
|
|
"api-prod": "pnpm api-extractor run --verbose",
|
2023-03-30 04:46:25 +00:00
|
|
|
"eslint": "eslint . --ext .js,.jsx,.ts,.tsx",
|
|
|
|
"typecheck": "tsc --noEmit",
|
|
|
|
"lint": "pnpm typecheck && pnpm eslint",
|
2023-03-30 00:33:19 +00:00
|
|
|
"jest": "jest --coverage --detectOpenHandles",
|
2023-12-02 12:00:05 +00: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 00:33:19 +00:00
|
|
|
},
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "git+https://github.com/misskey-dev/misskey.js.git"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
2024-02-08 18:17:31 +00:00
|
|
|
"@microsoft/api-extractor": "7.40.1",
|
2024-01-21 09:43:01 +00:00
|
|
|
"@misskey-dev/eslint-plugin": "1.0.0",
|
2024-02-08 18:17:31 +00:00
|
|
|
"@swc/jest": "0.2.36",
|
|
|
|
"@types/jest": "29.5.12",
|
2024-02-09 08:10:16 +00:00
|
|
|
"@types/node": "20.11.17",
|
2024-02-09 11:21:27 +00:00
|
|
|
"@typescript-eslint/eslint-plugin": "6.21.0",
|
|
|
|
"@typescript-eslint/parser": "6.21.0",
|
2023-12-16 05:00:27 +00:00
|
|
|
"eslint": "8.56.0",
|
2023-09-15 05:28:29 +00:00
|
|
|
"jest": "29.7.0",
|
2023-04-06 11:29:17 +00:00
|
|
|
"jest-fetch-mock": "3.0.3",
|
2023-09-15 05:28:29 +00:00
|
|
|
"jest-websocket-mock": "2.5.0",
|
|
|
|
"mock-socket": "9.3.1",
|
2023-12-14 11:16:02 +00:00
|
|
|
"ncp": "2.0.0",
|
2024-01-21 09:43:01 +00:00
|
|
|
"nodemon": "3.0.3",
|
|
|
|
"tsd": "0.30.4",
|
2023-12-14 11:16:02 +00:00
|
|
|
"typescript": "5.3.3"
|
2023-03-30 00:33:19 +00:00
|
|
|
},
|
|
|
|
"files": [
|
2024-01-22 09:01:54 +00:00
|
|
|
"built",
|
|
|
|
"built/esm",
|
|
|
|
"built/dts"
|
2023-03-30 00:33:19 +00:00
|
|
|
],
|
|
|
|
"dependencies": {
|
2024-01-22 19:10:51 +00:00
|
|
|
"@swc/cli": "0.1.65",
|
2024-01-30 20:10:06 +00:00
|
|
|
"@swc/core": "1.3.107",
|
2023-05-02 11:52:36 +00:00
|
|
|
"eventemitter3": "5.0.1",
|
2023-04-06 11:22:26 +00:00
|
|
|
"reconnecting-websocket": "4.4.0"
|
2023-03-30 00:33:19 +00:00
|
|
|
}
|
|
|
|
}
|