UNPKG

@xsprtd/nuxt-api

Version:

Nuxt API Authentication and Http Client

81 lines (80 loc) 2.1 kB
{ "name": "@xsprtd/nuxt-api", "version": "2.0.1", "description": "Nuxt API Authentication and Http Client", "author": "Sebastian Sulinski <seb@sulinski.me>", "keywords": [ "auth", "laravel", "sanctum", "sanctum-authentication", "laravel-sanctum-authentication", "nuxt-authentication", "http-client", "fetch-client", "nuxt-http-client", "nuxt-api-client", "authentication", "token-api-authentication", "cookie-api-authentication" ], "repository": { "type": "git", "url": "git+https://github.com/xsprtd/nuxt-api.git" }, "license": "MIT", "type": "module", "exports": { ".": { "types": "./dist/types.d.mts", "import": "./dist/module.mjs" } }, "main": "./dist/module.mjs", "files": [ "dist" ], "scripts": { "prepack": "nuxt-module-build build", "prepare": "nuxt-module-build prepare", "dev": "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 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", "link": "npm link" }, "dependencies": { "@nuxt/kit": "^3.16.0", "defu": "^6.1.4" }, "devDependencies": { "@nuxt/devtools": "^2.2.1", "@nuxt/eslint-config": "^1.2.0", "@nuxt/module-builder": "^1.0.2", "@nuxt/schema": "^3.16.0", "@nuxt/test-utils": "^3.17.2", "@types/node": "latest", "@vitest/coverage-v8": "^3.2.4", "changelogen": "^0.6.1", "eslint": "^9.22.0", "happy-dom": "^20.0.11", "nuxt": "^3.16.0", "typescript": "~5.8.2", "vitest": "^3.0.8", "vue-tsc": "^2.2.8" }, "publishConfig": { "access": "public" }, "prettier": { "semi": true, "singleQuote": true, "trailingComma": "all", "printWidth": 80, "tabWidth": 2 } }