Some checks reported errors
continuous-integration/drone/push Build was killed
- 搭建 api、auth、utils 等逻辑模块 - 通过 tsc、eslint、vitest 测试验证 BREAKING CHANGE: 新镜像分支
34 lines
909 B
JSON
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"
|
|
}
|
|
} |