39 lines
955 B
JSON
39 lines
955 B
JSON
{
|
||
"name": "@knowai/core",
|
||
"version": "0.1.0",
|
||
"type": "module",
|
||
"description": "Knowai核心库,提供API服务、客户端、装饰器、类型定义等。",
|
||
"files": [
|
||
"dist"
|
||
],
|
||
"publishConfig": { "access": "public" },
|
||
"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"
|
||
}
|
||
} |