diff --git a/package.json b/package.json index 9c2c03d..6c973ab 100644 --- a/package.json +++ b/package.json @@ -21,9 +21,6 @@ "@antfu/eslint-config": "^0.39.8", "@types/node": "^20.4.9", "@vitejs/plugin-vue": "^4.2.3", - "@vitest/coverage-c8": "^0.33.0", - "@vitest/coverage-v8": "^0.33.0", - "@vitest/ui": "^0.33.0", "@vue/test-utils": "^2.4.1", "bumpp": "^9.1.1", "eslint": "8.46.0", diff --git a/packages/nuxtlabs-ui-vue/package.json b/packages/nuxtlabs-ui-vue/package.json index 5aa97ba..03c6f60 100755 --- a/packages/nuxtlabs-ui-vue/package.json +++ b/packages/nuxtlabs-ui-vue/package.json @@ -2,6 +2,21 @@ "name": "nuxtlabs-ui-vue", "version": "0.0.0", "private": true, + "exports": { + ".": { + "types": "./dist/src/index.d.ts", + "require": "./dist/nuxtlabs-ui-vue.cjs", + "import": "./dist/nuxtlabs-ui-vue.mjs" + }, + "./dist/theme/nuxtlabsTheme": "./dist/theme/nuxtlabsTheme" + }, + "main": "./dist/nuxtlabs-ui-vue.cjs", + "module": "./dist/nuxtlabs-ui-vue.mjs", + "types": "./dist/src/index.d.ts", + "files": [ + "dist", + "src" + ], "scripts": { "build": "vite build && pnpm run build:theme", "build:watch": "vite build --watch", @@ -13,6 +28,9 @@ "lint": "eslint .", "lint:fix": "eslint . --fix" }, + "peerDependencies": { + "vue": "^3.3.4" + }, "dependencies": { "@headlessui/vue": "^1.7.15", "@popperjs/core": "^2.11.8", diff --git a/packages/nuxtlabs-ui-vue/src/App.vue b/packages/nuxtlabs-ui-vue/src/App.vue index 3176e26..29d2924 100755 --- a/packages/nuxtlabs-ui-vue/src/App.vue +++ b/packages/nuxtlabs-ui-vue/src/App.vue @@ -1,50 +1,26 @@ -