{ "name": "@zhin.js/plugin-earthquake", "version": "0.2.0", "description": "CENC and USGS data merged, with group subscriptions by magnitude and region; no API key needed.", "keywords": [ "zhin.js", "earthquake", "cenc", "usgs", "地震" ], "author": { "name": "lc-cn", "url": "https://github.com/zhinjs/zhin" }, "type": "module", "main": "./lib/index.js", "types": "./lib/index.d.ts", "exports": { ".": { "types": "./lib/index.d.ts", "development": "./src/index.ts", "import": "./lib/index.js" }, "./package.json": "./package.json" }, "files": [ "lib", "plugin.js", "schema.json", "commands", "!commands/**/*.ts", "skills", "!skills/**/*.ts", "README.md", "CHANGELOG.md" ], "scripts": { "build": "tsc", "check": "tsc -p tsconfig.check.json", "clean": "rimraf lib", "test": "vitest run --root ../../.. plugins/utils/earthquake/tests", "prepublishOnly": "pnpm run build", "prepack": "pnpm run build && node ../../../scripts/build-plugin-runtime-entries.mjs", "postpack": "node ../../../scripts/build-plugin-runtime-entries.mjs --clean" }, "license": "MIT", "dependencies": { "@zhin.js/skill": "workspace:*", "@zhin.js/tool": "workspace:*", "zod": "^4.6.7" }, "devDependencies": { "@zhin.js/command": "workspace:*", "@zhin.js/testing": "workspace:*", "typescript": "^6.0.3", "vitest": "^4.1.10", "zhin.js": "workspace:*" }, "peerDependencies": { "@zhin.js/command": "workspace:^", "zhin.js": "workspace:^" }, "peerDependenciesMeta": { "@zhin.js/command": { "optional": true } }, "repository": { "type": "git", "url": "git+https://github.com/zhinjs/zhin.git", "directory": "plugins/utils/earthquake" }, "publishConfig": { "access": "public", "registry": "https://registry.npmjs.org", "exports": { ".": { "types": "./lib/index.d.ts", "import": "./lib/index.js" }, "./package.json": "./package.json" } }, "engines": { "node": ">=22.19.0" }, "zhin": { "protocol": 1, "type": "plugin", "entry": "./plugin.js", "engine": "^1.0.0", "runtime": "trusted", "features": [ { "package": "@zhin.js/command", "api": "^1.0.0" }, { "package": "@zhin.js/tool", "api": "^1.0.0" }, { "package": "@zhin.js/skill", "api": "^1.0.0" } ], "plugins": [], "metadata": { "displayName": "地震速报", "displayNameI18n": { "zh-CN": "地震速报", "en": "Earthquake Alerts" }, "descriptionI18n": { "zh-CN": "合并中国地震台网与 USGS 数据,按震级和地区订阅群推送,无需 API Key。", "en": "CENC and USGS data merged, with group subscriptions by magnitude and region; no API key needed." }, "category": "information" } } }