NapCatQQ/packages/napcat-pty/package.json
手瓜一十雪 8bc8df32f9 Update type declarations and remove ts-ignore comments
Added 'types' field to package.json and updated tsconfig.json to include .d.ts files for better type support in napcat-pty. Removed unnecessary @ts-ignore comments from terminal_manager.ts to improve code clarity.
2025-11-14 15:00:40 +08:00

31 lines
704 B
JSON

{
"name": "napcat-pty",
"version": "0.0.1",
"private": true,
"type": "module",
"main": "index.ts",
"types": "node-pty.d.ts",
"exports": {
".": {
"import": "./index.ts"
},
"./src/*": {
"import": "./*"
}
},
"dependencies": {
"@homebridge/node-pty-prebuilt-multiarch":"^0.12.0",
"napcat-core": "workspace:*",
"napcat-common": "workspace:*",
"napcat-onebot": "workspace:*",
"napcat-webui-backend": "workspace:*",
"napcat-qrcode": "workspace:*"
},
"devDependencies": {
"@types/node": "^22.0.1"
},
"engines": {
"node": ">=18.0.0"
}
}