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 | 29 +++++++++++++++++------------ 1 files changed, 17 insertions(+), 12 deletions(-) diff --git a/packages/components/package.json b/packages/components/package.json index fac2d6d..90eeea6 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -1,10 +1,9 @@ { "name": "@life-payment/components", - "private": true, "main": "src/index.ts", "module": "./src/index.ts", - "types": "./dist/index.d.ts", - "version": "0.0.1", + "source": "./src/index.ts", + "version": "0.0.13", "scripts": { "clean": "rimraf dist", "build": "pnpm run clean && vite build", @@ -18,6 +17,7 @@ ], "exports": { ".": { + "source": "./src/index.ts", "import": "./src/index.ts", "require": "./src/index.ts" }, @@ -33,14 +33,11 @@ "exports": { ".": { "import": "./dist/index.mjs", - "require": "./dist/index.js" + "require": "./dist/index.js", + "types": "./dist/index.d.ts" }, - "./src/styles/index.scss": { - "import": "./dist/styles/index.scss" - }, - "./dist/styles/index.scss": { - "import": "./dist/styles/index.scss" - }, + "./src/styles/*": "./dist/styles/*", + "./dist/styles/*": "./dist/styles/*", "./*": "./*" } }, @@ -48,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", @@ -57,7 +58,11 @@ }, "peerDependencies": { "@life-payment/core-vue": "*", - "@nutui/nutui-taro": "4.3.13", - "vue": "3.5.12" + "@nutui/nutui-taro": "*", + "@tanstack/vue-query": "4.35.3", + "@tarojs/components": "*", + "@tarojs/taro": "*", + "qrcode.vue": "^3.6.0", + "vue": "*" } } -- Gitblit v1.9.1