UNPKG

node-karin

Version:

Lightweight, efficient, concise, and stable robot framework.

195 lines 6.01 kB
{ "name": "node-karin", "version": "1.10.20", "description": "Lightweight, efficient, concise, and stable robot framework.", "keywords": [ "node", "nodejs", "karin", "bot", "robot", "icqq", "onebot", "kritor", "node-karin" ], "homepage": "https://github.com/KarinJS/Karin", "bugs": { "url": "https://github.com/KarinJS/Karin/issues" }, "repository": { "type": "git", "url": "git+https://github.com/KarinJS/Karin.git" }, "license": "MIT", "author": "shijin", "type": "module", "exports": { ".": { "types": "./dist/index.d.ts", "development": "./src/index.ts", "default": "./dist/index.mjs" }, "./app": { "types": "./dist/start/app.d.ts", "development": "./src/start/app.ts", "default": "./dist/start/app.mjs" }, "./start": { "types": "./dist/start/index.d.ts", "development": "./src/start/index.ts", "default": "./dist/start/index.mjs" }, "./dir": { "types": "./dist/root.d.ts", "development": "./src/root.ts", "default": "./dist/root.mjs" }, "./root": { "types": "./dist/root.d.ts", "development": "./src/root.ts", "default": "./dist/root.mjs" }, "./template": { "types": "./dist/module/art-template.d.ts", "development": "./module/art-template.ts", "default": "./dist/module/art-template.mjs" }, "./art-template": { "types": "./dist/module/art-template.d.ts", "development": "./module/art-template.ts", "default": "./dist/module/art-template.mjs" }, "./axios": { "types": "./dist/module/axios.d.ts", "development": "./module/axios.ts", "default": "./dist/module/axios.mjs" }, "./chalk": { "types": "./dist/module/chalk.d.ts", "development": "./module/chalk.ts", "default": "./dist/module/chalk.mjs" }, "./chokidar": { "types": "./dist/module/chokidar.d.ts", "development": "./module/chokidar.ts", "default": "./dist/module/chokidar.mjs" }, "./express": { "types": "./dist/module/express.d.ts", "development": "./module/express.ts", "default": "./dist/module/express.mjs" }, "./lodash": { "types": "./dist/module/lodash.d.ts", "development": "./module/lodash.ts", "default": "./dist/module/lodash.mjs" }, "./moment": { "types": "./dist/module/moment.d.ts", "development": "./module/moment.ts", "default": "./dist/module/moment.mjs" }, "./moment/locale/*": { "development": "./dist/module/locale/*.js", "default": "./dist/module/locale/*.js" }, "./schedule": { "types": "./dist/module/node-schedule.d.ts", "development": "./module/node-schedule.ts", "default": "./dist/module/node-schedule.mjs" }, "./node-schedule": { "types": "./dist/module/node-schedule.d.ts", "development": "./module/node-schedule.ts", "default": "./dist/module/node-schedule.mjs" }, "./redis": { "types": "./dist/module/redis.d.ts", "development": "./module/redis.ts", "default": "./dist/module/redis.mjs" }, "./ws": { "types": "./dist/module/ws.d.ts", "development": "./module/ws.ts", "default": "./dist/module/ws.mjs" }, "./yaml": { "types": "./dist/module/yaml.d.ts", "development": "./module/yaml.ts", "default": "./dist/module/yaml.mjs" }, "./sqlite3": { "types": "./dist/module/sqlite3.d.ts", "development": "./module/sqlite3.ts", "default": "./dist/module/sqlite3.mjs" } }, "main": "./dist/index.mjs", "types": "./dist/index.d.ts", "bin": { "k": "./dist/cli/index.mjs", "ki": "./dist/cli/index.mjs", "karin": "./dist/cli/index.mjs" }, "files": [ "dist", "default", "CHANGELOG.md", "LICENSE" ], "scripts": { ".": "pnpm app", "app": "node dist/start/index.mjs", "build": "pnpm build:main && pnpm build:module", "build:dev": "pnpm build:main", "build:main": "tsc && tsup", "build:module": "tsc && tsup --config tsup.config.module.ts && pnpm build:locale", "build:types": "tsc && tsup --config tsup.config.types.ts", "build:locale": "node cli/locale.js", "app:bun": "bun dist/start/index.mjs", "cli": "node dist/cli/index.mjs", "cli:dev": "tsx exports/cli/index.ts", "dev": "cross-env EBV_FILE=\"development.env\" node --conditions=development --import tsx src/start/index.ts", "dev:bun": "cross-env EBV_FILE=\"development.env\" bun --conditions=development src/start/index.ts", "pr": "node cli/pr.js all", "pub": "npm publish --access public", "pub-beta": "npm publish --access public --tag beta", "sort": "sort-package-json && sort-json tsconfig.json", "sync": "curl -X PUT \"https://registry-direct.npmmirror.com/-/package/node-karin/syncs\"" }, "dependencies": { "art-template": "npm:@karinjs/art-template@1.1.0", "axios": "npm:@karinjs/axios@1.2.0", "chalk": "5.4.1", "chokidar": "4.0.3", "express": "npm:@karinjs/express@1.0.3", "lodash": "npm:@karinjs/lodash@1.1.1", "log4js": "^6.9.1", "moment": "npm:@karinjs/moment@1.1.5", "node-schedule": "npm:@karinjs/node-schedule@1.0.0", "redis": "npm:@karinjs/redis@1.1.3", "sqlite3": "npm:@karinjs/sqlite3-cjs@0.1.0", "ws": "npm:@karinjs/ws@1.0.4", "yaml": "2.7.0" }, "devDependencies": { "@karinjs/node-pty": "^1.1.0", "@karinjs/onebot": "workspace:*", "@karinjs/plugin-webui-network-monitor": "^1.0.3", "@karinjs/plugins-list": "^1.7.0", "@types/express": "^5.0.1", "@types/lodash": "^4.17.16", "cross-env": "^7.0.3", "dotenv": "npm:@karinjs/dotenv@^1.1.2", "jsonwebtoken": "npm:@karinjs/jsonwebtoken@^1.1.1" }, "engines": { "node": ">=18" }, "publishConfig": { "access": "public", "registry": "https://registry.npmjs.org" }, "time": "2025-06-30T19:55:55.123Z" }