Files
simapi-vue/package.json
T

56 lines
1.5 KiB
JSON
Raw Normal View History

2026-03-31 06:40:07 +08:00
{
"name": "@simcu/simapi",
2026-04-08 01:07:10 +08:00
"version": "0.0.0-version-placeholder",
"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:07:10 +08:00
"url": "git@github.com:simcu/simapi-ts.git"
},
"keywords": [
"simapi",
"vue3",
"pinia",
"http",
"fetch"
],
"files": [
"dist",
"README.md",
"package.json"
],
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.cjs",
"types": "./dist/simapi.core.d.ts"
},
"./pinia": {
"import": "./dist/pinia.mjs",
"types": "./dist/simapi.pinia.d.ts"
}
},
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/simapi.core.d.ts",
"scripts": {
"build": "npm run build:core && npm run build:pinia && npm run types",
"build:core": "vite build --config vite.core.config.ts",
"build:pinia": "vite build --config vite.pinia.config.ts",
2026-04-08 01:20:36 +08:00
"build:version": "node scripts/replace-version.js && npm run build && node scripts/restore-version.js",
2026-04-08 01:07:10 +08:00
"dev": "vite build --config vite.core.config.ts --watch",
"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-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
}
}