2026-03-31 06:40:07 +08:00
|
|
|
|
{
|
|
|
|
|
|
"name": "@simcu/simapi",
|
2026-04-08 02:44:04 +08:00
|
|
|
|
"version": "0.0.0-develop",
|
2026-04-08 01:07:10 +08:00
|
|
|
|
"description": "SimApi 统一前端 HTTP 客户端库,支持 Vue3 和常规 JS/TS 项目(基于原生 fetch)",
|
2026-03-31 06:40:07 +08:00
|
|
|
|
"author": "simcu",
|
|
|
|
|
|
"license": "MIT",
|
|
|
|
|
|
"repository": {
|
|
|
|
|
|
"type": "git",
|
2026-04-08 01:21:45 +08:00
|
|
|
|
"url": "git@github.com:simcu/simapi-vue.git"
|
2026-04-08 01:07:10 +08:00
|
|
|
|
},
|
|
|
|
|
|
"keywords": [
|
|
|
|
|
|
"simapi",
|
|
|
|
|
|
"vue3",
|
|
|
|
|
|
"pinia",
|
|
|
|
|
|
"http",
|
|
|
|
|
|
"fetch"
|
|
|
|
|
|
],
|
|
|
|
|
|
"files": [
|
|
|
|
|
|
"dist",
|
|
|
|
|
|
"README.md",
|
|
|
|
|
|
"package.json"
|
|
|
|
|
|
],
|
|
|
|
|
|
"exports": {
|
|
|
|
|
|
".": {
|
|
|
|
|
|
"import": "./dist/index.mjs",
|
|
|
|
|
|
"types": "./dist/simapi.core.d.ts"
|
|
|
|
|
|
},
|
|
|
|
|
|
"./pinia": {
|
|
|
|
|
|
"import": "./dist/pinia.mjs",
|
|
|
|
|
|
"types": "./dist/simapi.pinia.d.ts"
|
|
|
|
|
|
}
|
|
|
|
|
|
},
|
|
|
|
|
|
"module": "./dist/index.mjs",
|
|
|
|
|
|
"types": "./dist/simapi.core.d.ts",
|
|
|
|
|
|
"scripts": {
|
2026-04-08 02:44:04 +08:00
|
|
|
|
"build": "vite build && npm run types",
|
|
|
|
|
|
"dev": "vite build --watch",
|
2026-04-08 01:07:10 +08:00
|
|
|
|
"types": "tsc --declaration --emitDeclarationOnly --project tsconfig.build.json",
|
|
|
|
|
|
"lint": "tsc --noEmit"
|
2026-03-31 06:40:07 +08:00
|
|
|
|
},
|
|
|
|
|
|
"dependencies": {
|
2026-04-08 01:07:10 +08:00
|
|
|
|
"tslib": "^2.3.0"
|
2026-03-31 06:40:07 +08:00
|
|
|
|
},
|
|
|
|
|
|
"devDependencies": {
|
2026-04-23 21:39:38 +08:00
|
|
|
|
"@types/node": "^25.6.0",
|
2026-04-08 02:44:04 +08:00
|
|
|
|
"concurrently": "^9.2.1",
|
2026-04-08 01:07:10 +08:00
|
|
|
|
"pinia": "^2.2.0",
|
|
|
|
|
|
"typescript": "~5.9.3",
|
2026-03-31 06:40:07 +08:00
|
|
|
|
"vite": "^5.0.0",
|
2026-04-08 01:07:10 +08:00
|
|
|
|
"vue": "^3.4.0"
|
2026-03-31 06:40:07 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|