diff --git a/package.json b/package.json index b99606c..8622ea4 100644 --- a/package.json +++ b/package.json @@ -1,10 +1,31 @@ { - "name": "nuxt-can", + "name": "@eduvia-app/nuxt-can", "version": "1.0.0", - "description": "My new Nuxt module", - "repository": "your-org/my-module", + "description": "Nuxt directives (`v-can`, `v-cannot`) to layer permissions without touching business v-ifs.", + "author": "Eduvia ", + "homepage": "https://github.com/eduvia-app/nuxt-can#readme", + "bugs": { + "url": "https://github.com/eduvia-app/nuxt-can/issues" + }, + "repository": { + "type": "git", + "url": "https://github.com/eduvia-app/nuxt-can.git" + }, "license": "MIT", "type": "module", + "keywords": [ + "nuxt", + "nuxt3", + "nuxt-module", + "permissions", + "vue", + "directive", + "v-can" + ], + "publishConfig": { + "access": "public" + }, + "sideEffects": false, "exports": { ".": { "types": "./dist/types.d.mts", @@ -12,6 +33,7 @@ } }, "main": "./dist/module.mjs", + "module": "./dist/module.mjs", "typesVersions": { "*": { ".": [ @@ -22,6 +44,9 @@ "files": [ "dist" ], + "engines": { + "node": ">=20" + }, "scripts": { "prepack": "nuxt-module-build build", "dev": "npm run dev:prepare && nuxi dev playground", @@ -38,6 +63,9 @@ "@vue/language-core": "^3.1.3", "diff": "^8.0.2" }, + "peerDependencies": { + "nuxt": "^3.0.0 || ^4.0.0" + }, "devDependencies": { "@nuxt/devtools": "^3.1.0", "@nuxt/eslint-config": "^1.10.0",