Make line endings deterministic across macOS, Windows, and Linux while preserving the native checkout format required by Windows launchers. Pin the tested application runtime and Node type baseline, add a shared startup preflight, and keep independently published packages on their existing compatibility ranges. Align local scripts, pull request validation, complete package builds, dependency metadata, and contributor documentation around the same Node and pnpm contract. The root test command now covers every tested workspace package while a focused Core command remains available for local iteration.
96 lines
2.2 KiB
JSON
96 lines
2.2 KiB
JSON
{
|
|
"name": "@snowluma/sdk",
|
|
"author": {
|
|
"name": "MotricSeven",
|
|
"email": "[email protected]"
|
|
},
|
|
"version": "1.12.10",
|
|
"description": "TypeScript SDK for SnowLuma OneBot HTTP and WebSocket transports",
|
|
"keywords": [
|
|
"snowluma",
|
|
"onebot",
|
|
"onebot11",
|
|
"qq",
|
|
"bot",
|
|
"sdk"
|
|
],
|
|
"homepage": "https://github.com/SnowLuma/SnowLuma#readme",
|
|
"bugs": {
|
|
"url": "https://github.com/SnowLuma/SnowLuma/issues"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/SnowLuma/SnowLuma.git",
|
|
"directory": "packages/sdk"
|
|
},
|
|
"license": "SEE LICENSE IN LICENSE",
|
|
"type": "module",
|
|
"sideEffects": false,
|
|
"main": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"import": "./dist/index.js"
|
|
},
|
|
"./client": {
|
|
"types": "./dist/client/index.d.ts",
|
|
"import": "./dist/client/index.js"
|
|
},
|
|
"./messages": {
|
|
"types": "./dist/messages/index.d.ts",
|
|
"import": "./dist/messages/index.js"
|
|
},
|
|
"./events": {
|
|
"types": "./dist/events/index.d.ts",
|
|
"import": "./dist/events/index.js"
|
|
},
|
|
"./types": {
|
|
"types": "./dist/types/index.d.ts",
|
|
"import": "./dist/types/index.js"
|
|
},
|
|
"./errors": {
|
|
"types": "./dist/errors.d.ts",
|
|
"import": "./dist/errors.js"
|
|
},
|
|
"./actions": {
|
|
"types": "./dist/actions.d.ts",
|
|
"import": "./dist/actions.js"
|
|
},
|
|
"./package.json": "./package.json"
|
|
},
|
|
"files": [
|
|
"dist/actions.*",
|
|
"dist/client",
|
|
"dist/emitter.*",
|
|
"dist/errors.*",
|
|
"dist/events",
|
|
"dist/index.*",
|
|
"dist/internal",
|
|
"dist/messages",
|
|
"dist/types",
|
|
"README.md",
|
|
"CHANGELOG.md",
|
|
"VERSIONING.md"
|
|
],
|
|
"scripts": {
|
|
"clean": "node -e \"const fs = require('node:fs'); fs.rmSync('dist', { recursive: true, force: true })\"",
|
|
"prebuild": "pnpm run clean",
|
|
"build": "tsc -p tsconfig.json",
|
|
"prepack": "pnpm run build",
|
|
"test": "vitest run",
|
|
"typecheck": "tsc --noEmit"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"engines": {
|
|
"node": ">=22"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "catalog:",
|
|
"typescript": "catalog:",
|
|
"vitest": "^4.1.4"
|
|
}
|
|
}
|