Files
knowai/package.json
tobegold574 6a81b7bb13
Some checks reported errors
continuous-integration/drone/push Build was killed
feat(image): 新建 knowai-core:1.0.0 镜像并完成推送
- 搭建 api、auth、utils 等逻辑模块
- 通过 tsc、eslint、vitest 测试验证

BREAKING CHANGE: 新镜像分支
2025-11-10 20:20:25 +08:00

34 lines
909 B
JSON

{
"name": "knowai-core",
"version": "1.0.0",
"type": "module",
"description": "负责准备视觉层会用到的逻辑函数、常用工具函数封装以及鉴权函数封装。负责维护统一接口。",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"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"
}
}