From e372854c71bc97d162452cc4b3f5cfa586da50a8 Mon Sep 17 00:00:00 2001 From: wupengfei <834520024@qq.com> Date: 星期四, 22 五月 2025 17:06:31 +0800 Subject: [PATCH] feat: UI --- packages/components/package.json | 19 ++++++++++++++++--- 1 files changed, 16 insertions(+), 3 deletions(-) diff --git a/packages/components/package.json b/packages/components/package.json index 8a883ec..fa0e1b6 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.3", + "source": "./src/index.ts", + "version": "0.0.13", "scripts": { "clean": "rimraf dist", "build": "pnpm run clean && vite build", @@ -17,11 +17,15 @@ ], "exports": { ".": { + "source": "./src/index.ts", "import": "./src/index.ts", "require": "./src/index.ts" }, "./src/styles/index.scss": { "import": "./src/styles/index.scss" + }, + "./src/assets/*": { + "import": "./src/assets/*" }, "./*": "./*" }, @@ -32,7 +36,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 +48,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 +62,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