Files
simapi-vue/package.json
T
xrain e91ddd36bf
Publish to npm / publish (push) Failing after 12s
fix ci
2026-04-08 01:21:45 +08:00

56 lines
1.5 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"name": "@simcu/simapi",
"version": "0.0.0-version-placeholder",
"description": "SimApi 统一前端 HTTP 客户端库,支持 Vue3 和常规 JS/TS 项目(基于原生 fetch",
"author": "simcu",
"license": "MIT",
"repository": {
"type": "git",
"url": "git@github.com:simcu/simapi-vue.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",
"build:version": "node scripts/replace-version.js && npm run build && node scripts/restore-version.js",
"dev": "vite build --config vite.core.config.ts --watch",
"types": "tsc --declaration --emitDeclarationOnly --project tsconfig.build.json",
"lint": "tsc --noEmit"
},
"dependencies": {
"tslib": "^2.3.0"
},
"devDependencies": {
"pinia": "^2.2.0",
"typescript": "~5.9.3",
"vite": "^5.0.0",
"vue": "^3.4.0"
}
}