2023-03-29 19:33:19 -05:00
|
|
|
{
|
2024-01-19 22:57:03 -06:00
|
|
|
"type": "module",
|
2023-03-29 19:33:19 -05:00
|
|
|
"name": "misskey-js",
|
2023-06-24 07:20:28 -05:00
|
|
|
"version": "0.0.16",
|
2023-03-29 19:33:19 -05:00
|
|
|
"description": "Misskey SDK for JavaScript",
|
2024-01-19 22:57:03 -06:00
|
|
|
"exports": {
|
|
|
|
".": {
|
|
|
|
"import": "./built/esm/index.js",
|
|
|
|
"types": "./built/dts/index.d.ts"
|
|
|
|
},
|
|
|
|
"./*": {
|
|
|
|
"import": "./built/esm/*",
|
|
|
|
"types": "./built/dts/*"
|
|
|
|
}
|
|
|
|
},
|
2023-03-29 19:33:19 -05:00
|
|
|
"scripts": {
|
2024-01-19 22:57:03 -06:00
|
|
|
"build": "npm run ts",
|
|
|
|
"ts": "npm run ts-esm && npm run ts-dts",
|
|
|
|
"ts-esm": "tsc --outDir built/esm",
|
|
|
|
"ts-dts": "tsc --outDir built/dts --declaration true --emitDeclarationOnly true --declarationMap true",
|
2023-12-14 05:16:02 -06:00
|
|
|
"watch": "nodemon -w src -e ts,js,cjs,mjs,json --exec \"pnpm run build\"",
|
2023-03-29 19:33:19 -05:00
|
|
|
"tsd": "tsd",
|
|
|
|
"api": "pnpm api-extractor run --local --verbose",
|
|
|
|
"api-prod": "pnpm api-extractor run --verbose",
|
2023-03-29 23:46:25 -05:00
|
|
|
"eslint": "eslint . --ext .js,.jsx,.ts,.tsx",
|
|
|
|
"typecheck": "tsc --noEmit",
|
|
|
|
"lint": "pnpm typecheck && pnpm eslint",
|
2023-03-29 19:33:19 -05:00
|
|
|
"jest": "jest --coverage --detectOpenHandles",
|
2023-12-02 06:00:05 -06:00
|
|
|
"test": "pnpm jest && pnpm tsd",
|
|
|
|
"update-autogen-code": "pnpm --filter misskey-js-type-generator generate && ncp generator/built/autogen src/autogen"
|
2023-03-29 19:33:19 -05:00
|
|
|
},
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "git+https://github.com/misskey-dev/misskey.js.git"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
2023-12-08 22:02:14 -06:00
|
|
|
"@microsoft/api-extractor": "7.38.5",
|
2023-12-31 00:26:57 -06:00
|
|
|
"@misskey-dev/eslint-plugin": "^1.0.0",
|
2023-09-03 23:33:38 -05:00
|
|
|
"@swc/jest": "0.2.29",
|
2023-12-08 22:02:14 -06:00
|
|
|
"@types/jest": "29.5.11",
|
2023-12-17 22:14:58 -06:00
|
|
|
"@types/node": "20.10.5",
|
2023-12-13 22:22:12 -06:00
|
|
|
"@typescript-eslint/eslint-plugin": "6.14.0",
|
|
|
|
"@typescript-eslint/parser": "6.14.0",
|
2023-12-15 23:00:27 -06:00
|
|
|
"eslint": "8.56.0",
|
2023-09-15 00:28:29 -05:00
|
|
|
"jest": "29.7.0",
|
2023-04-06 06:29:17 -05:00
|
|
|
"jest-fetch-mock": "3.0.3",
|
2023-09-15 00:28:29 -05:00
|
|
|
"jest-websocket-mock": "2.5.0",
|
|
|
|
"mock-socket": "9.3.1",
|
2023-12-14 05:16:02 -06:00
|
|
|
"ncp": "2.0.0",
|
|
|
|
"nodemon": "3.0.2",
|
2023-12-17 22:14:58 -06:00
|
|
|
"tsd": "0.30.0",
|
2023-12-14 05:16:02 -06:00
|
|
|
"typescript": "5.3.3"
|
2023-03-29 19:33:19 -05:00
|
|
|
},
|
|
|
|
"files": [
|
|
|
|
"built"
|
|
|
|
],
|
|
|
|
"dependencies": {
|
2023-11-17 00:10:04 -06:00
|
|
|
"@swc/cli": "0.1.63",
|
2023-12-04 04:40:46 -06:00
|
|
|
"@swc/core": "1.3.100",
|
2023-05-02 06:52:36 -05:00
|
|
|
"eventemitter3": "5.0.1",
|
2023-04-06 06:22:26 -05:00
|
|
|
"reconnecting-websocket": "4.4.0"
|
2023-03-29 19:33:19 -05:00
|
|
|
}
|
|
|
|
}
|