UNPKG

nuxt-procedures

Version:

Nuxt module to define and easily consume your backend API in a validated and type-safe way using procedures and Zod schemas.

71 lines (70 loc) 1.83 kB
{ "name": "nuxt-procedures", "version": "0.1.10", "description": "Nuxt module to define and easily consume your backend API in a validated and type-safe way using procedures and Zod schemas.", "keywords": [ "nuxt", "module", "api", "rpc", "procedures", "zod", "type-safe" ], "repository": { "type": "git", "url": "git+https://github.com/andresberrios/nuxt-procedures.git" }, "license": "MIT", "type": "module", "exports": { ".": { "types": "./dist/types.d.mts", "import": "./dist/module.mjs" } }, "main": "./dist/module.mjs", "typesVersions": { "*": { ".": [ "./dist/types.d.mts" ] } }, "files": [ "dist" ], "scripts": { "prepack": "nuxt-module-build build", "dev": "npm run dev:prepare && nuxi dev playground", "dev:build": "nuxi build playground", "dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground", "release": "npm run lint && npm run test && npm run prepack && changelogen --release && npm publish && git push --follow-tags", "lint": "eslint .", "test": "vitest run", "test:watch": "vitest watch", "test:types": "vue-tsc --noEmit && cd playground && vue-tsc --noEmit" }, "dependencies": { "@nuxt/kit": "^4.2.2", "scule": "^1.3.0", "superjson": "^2.2.2" }, "peerDependencies": { "zod": "^3.0.0 || ^4.0.0" }, "devDependencies": { "@nuxt/devtools": "^2.6.2", "@nuxt/eslint-config": "^1.7.1", "@nuxt/module-builder": "^1.0.2", "@nuxt/schema": "^4.2.2", "@nuxt/test-utils": "^3.19.2", "@types/node": "latest", "changelogen": "^0.6.2", "eslint": "^9.32.0", "nuxt": "^4.2.2", "typescript": "~5.8.3", "vitest": "^3.2.4", "vue-tsc": "^3.0.4" } }