UNPKG

@nuxt/module-builder

Version:

Complete solution for building Nuxt modules

90 lines 2.3 kB
{ "name": "@nuxt/module-builder", "version": "1.0.3", "repository": { "type": "git", "url": "nuxt/module-builder" }, "description": "Complete solution for building Nuxt modules", "license": "MIT", "type": "module", "exports": { ".": "./dist/index.mjs", "./package.json": "./package.json" }, "typesVersions": { "*": { "*": [ "./dist/*.d.mts" ], "package.json": [ "package.json" ] } }, "bin": { "nuxt-build-module": "./dist/cli.mjs", "nuxt-module-build": "./dist/cli.mjs" }, "files": [ "dist" ], "dependencies": { "citty": "^0.2.2", "consola": "^3.4.2", "defu": "^6.1.7", "jiti": "^2.7.0", "magic-regexp": "^0.11.0", "mkdist": "^2.4.1", "mlly": "^1.8.2", "pathe": "^2.0.3", "pkg-types": "^2.3.1", "tsconfck": "^3.1.6", "unbuild": "^3.6.1", "vue-sfc-transformer": "^0.2.3" }, "peerDependencies": { "@nuxt/cli": "^3.37.0", "typescript": "^5.9.3" }, "devDependencies": { "@arethetypeswrong/cli": "^0.18.5", "@nuxt/cli": "^3.37.0", "@nuxt/eslint-config": "^1.16.0", "@nuxt/schema": "~4.4.8", "@types/node": "^24.13.3", "@types/semver": "^7.7.1", "@vitest/coverage-v8": "^4.1.10", "eslint": "^10.7.0", "installed-check": "^10.0.1", "knip": "^6.27.0", "nuxt": "~4.4.8", "ofetch": "^1.5.1", "pkg-pr-new": "^0.0.78", "publint": "^0.3.21", "semver": "^7.8.5", "tinyexec": "^1.2.4", "tsdown": "^0.22.12", "typescript": "~5.9.3", "vitest": "^4.1.10", "vue": "^3.5.40", "vue-tsc": "^3.3.7" }, "engines": { "node": "^18.0.0 || >=20.0.0" }, "scripts": { "build": "tsdown", "dev:prepare": "pnpm -r dev:prepare", "example:build": "pnpm nuxt-module-build build ./example", "example:stub": "pnpm nuxt-module-build build --stub ./example", "lint": "eslint .", "nuxt-module-build": "JITI_ESM_RESOLVE=1 jiti ./src/cli.ts", "test": "pnpm vitest --coverage", "test:attw": "attw --pack example && attw --pack .", "test:publint": "cd example && publint", "test:engines": "installed-check -d --no-workspaces", "test:knip": "knip --exclude unresolved", "test:types": "vue-tsc --noEmit && pnpm -r test:types" } }