From c02e7a8fe42de2a5796e95e573f9e6b6735e4d0d Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期二, 25 三月 2025 17:06:43 +0800 Subject: [PATCH] fix: 四期需求 --- packages/components/package.json | 16 +++++++++++++--- 1 files changed, 13 insertions(+), 3 deletions(-) diff --git a/packages/components/package.json b/packages/components/package.json index c24c15c..90eeea6 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -2,8 +2,8 @@ "name": "@life-payment/components", "main": "src/index.ts", "module": "./src/index.ts", - "types": "./dist/index.d.ts", - "version": "0.0.2", + "source": "./src/index.ts", + "version": "0.0.13", "scripts": { "clean": "rimraf dist", "build": "pnpm run clean && vite build", @@ -17,6 +17,7 @@ ], "exports": { ".": { + "source": "./src/index.ts", "import": "./src/index.ts", "require": "./src/index.ts" }, @@ -32,7 +33,8 @@ "exports": { ".": { "import": "./dist/index.mjs", - "require": "./dist/index.js" + "require": "./dist/index.js", + "types": "./dist/index.d.ts" }, "./src/styles/*": "./dist/styles/*", "./dist/styles/*": "./dist/styles/*", @@ -43,8 +45,12 @@ "@life-payment/core-vue": "workspace:^", "@nutui/icons-vue-taro": "0.0.9", "@nutui/nutui-taro": "4.3.13", + "@tanstack/vue-query": "4.35.3", + "@tarojs/components": "3.6.20", + "@tarojs/taro": "3.6.20", "@vitejs/plugin-vue": "^5.1.4", "@vitejs/plugin-vue-jsx": "^4.0.1", + "qrcode.vue": "^3.6.0", "vite": "5.4.3", "vite-plugin-dts": "^4.5.3", "vite-plugin-static-copy": "^0.12.0", @@ -53,6 +59,10 @@ "peerDependencies": { "@life-payment/core-vue": "*", "@nutui/nutui-taro": "*", + "@tanstack/vue-query": "4.35.3", + "@tarojs/components": "*", + "@tarojs/taro": "*", + "qrcode.vue": "^3.6.0", "vue": "*" } } -- Gitblit v1.9.1