Files
knowai/package.json
2025-11-23 22:26:39 +08:00

35 lines
930 B
JSON

{
"name": "knowai-core",
"version": "1.0.0",
"type": "module",
"description": "负责准备视觉层会用到的逻辑函数、常用工具函数封装以及鉴权函数封装。负责维护统一接口。",
"exports": {
".": {
"import": "./dist/index.js",
"types": "./dist/index.d.ts"
}
},
"scripts": {
"type-check": "tsc --noemit",
"build": "tsc --project tsconfig.json",
"build:single": "tsc",
"dev": "tsc --watch",
"test": "vitest --run",
"lint": "eslint .",
"clean": "rm -rf dist"
},
"dependencies": {
"axios": "^1.11.0"
},
"devDependencies": {
"@eslint/js": "^9.39.1",
"@types/lodash": "^4.14.0",
"@types/node": "^20.0.0",
"@typescript-eslint/eslint-plugin": "^8.46.3",
"@typescript-eslint/parser": "^8.46.3",
"@vitest/coverage-v8": "^0.34.1",
"eslint": "^9.39.1",
"typescript": "^5.2.0",
"vitest": "^0.34.1"
}
}