From 220de56fe933a8f84349189ef68dde628fd53ab6 Mon Sep 17 00:00:00 2001 From: Elliot Date: Sun, 14 Jan 2024 10:55:25 +1000 Subject: [PATCH] chore: update package file to include readme, repo and keywords --- packages/vaul-vue/package.json | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/packages/vaul-vue/package.json b/packages/vaul-vue/package.json index 0c61330..70004f6 100644 --- a/packages/vaul-vue/package.json +++ b/packages/vaul-vue/package.json @@ -2,11 +2,28 @@ "name": "vaul-vue", "version": "0.0.3", "type": "module", - "main": "dist/index.js", - "types": "dist/index.d.ts", + "main": "./dist/index.umd.cjs", + "module": "./dist/index.js", + "types": "./dist/index.d.ts", + "exports": { + ".": { + "import": "./dist/index.js", + "require": "./dist/index.umd.cjs" + } + }, "files": [ - "dist" + "dist", + "../../README.md" + ], + "keywords": [ + "vue", + "vue3", + "drawer", + "dialog", + "modal", + "headless" ], + "repository": "https://github.com/Elliot-Alexander/vaul-vue", "scripts": { "dev": "vite", "build": "run-p type-check \"build-only {@}\" --",