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 | 32 ++++++++++++++++++++------------ 1 files changed, 20 insertions(+), 12 deletions(-) diff --git a/packages/components/package.json b/packages/components/package.json index fac2d6d..fa0e1b6 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,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/*" }, "./*": "./*" }, @@ -33,14 +36,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 +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", @@ -57,7 +61,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