Removed the manual TypeBox type definitions from external-shims.d.ts and added @sinclair/typebox as a dependency in package.json and package.public.json. Bumped package version to 0.0.4 to reflect this change.
31 lines
883 B
JSON
31 lines
883 B
JSON
{
|
|
"name": "napcat-types",
|
|
"version": "0.0.1",
|
|
"private": false,
|
|
"type": "module",
|
|
"types": "./dist/napcat-types/index.d.ts",
|
|
"files": [
|
|
"dist/**/*"
|
|
],
|
|
"scripts": {
|
|
"build": "tsc --project tsconfig.json && tsc-alias --project tsconfig.json --outDir dist && node ./scripts/post-build.mjs && node ./scripts/copy-dist.mjs",
|
|
"test": "pnpm -s exec tsc --project tsconfig.json --noEmit",
|
|
"publish": "cd dist && npm publish"
|
|
},
|
|
"dependencies": {
|
|
"@types/node": "^22.10.7",
|
|
"@types/express": "^4.17.21",
|
|
"@types/ws": "^8.5.12",
|
|
"@types/cors": "^2.8.17",
|
|
"@types/multer": "^1.4.12",
|
|
"@types/winston": "^2.4.4",
|
|
"@types/yaml": "^1.9.7",
|
|
"@types/ip": "^1.1.3",
|
|
"@sinclair/typebox": "^0.34.38"
|
|
},
|
|
"devDependencies": {
|
|
"napcat-core": "workspace:*",
|
|
"napcat-onebot": "workspace:*",
|
|
"tsc-alias": "^1.8.16"
|
|
}
|
|
} |