nuxt-users
Version:
A comprehensive user management module for Nuxt 3 and Nuxt 4 applications with authentication, authorization, database support, and CLI tools
138 lines (137 loc) • 4.74 kB
JSON
{
"name": "nuxt-users",
"version": "1.38.0",
"description": "A comprehensive user management module for Nuxt 3 and Nuxt 4 applications with authentication, authorization, database support, and CLI tools",
"keywords": [
"nuxt",
"nuxt3",
"nuxt-module",
"users",
"authentication",
"authorization",
"auth",
"user-management",
"sqlite",
"mysql",
"postgresql",
"bcrypt",
"password-reset",
"personal-access-tokens",
"database",
"cli"
],
"repository": {
"type": "git",
"url": "https://github.com/rrd108/nuxt-users.git"
},
"bugs": {
"url": "https://github.com/rrd108/nuxt-users/issues"
},
"homepage": "https://nuxt-users.webmania.cc",
"author": {
"name": "rrd108",
"url": "https://github.com/rrd108"
},
"license": "MIT",
"type": "module",
"exports": {
".": {
"types": "./dist/types.d.mts",
"import": "./dist/module.mjs"
},
"./utils": {
"types": "./dist/utils.d.mts",
"import": "./dist/utils.mjs"
}
},
"main": "./dist/module.mjs",
"types": "./dist/types.d.mts",
"files": [
"dist",
"scripts"
],
"bin": {
"nuxt-users": "./dist/cli.mjs"
},
"scripts": {
"prepack": "nuxt-module-build build && node scripts/post-build.js",
"postinstall": "node -e \"try { require('fs').chmodSync('./dist/cli.mjs', '755') } catch(e) {}\" && node scripts/check-peer-dependencies.js",
"predev": "node -v | grep -q 'v22' || (echo 'Please use Node.js v22 for development' && exit 1)",
"dev": "yarn dev:prepare && nuxi dev playground",
"dev:build": "nuxi build playground",
"dev:prepare": "yarn nuxt-module-build build --stub && yarn nuxt-module-build prepare && nuxi prepare playground",
"build": "nuxt-module-build build",
"postbuild": "node scripts/post-build.js",
"prerelease": "node -v | grep -q 'v22' || (echo 'Please use Node.js v22 for deployment' && exit 1)",
"release": "yarn lint && yarn test && yarn prepack && changelogen --release && npm publish && git push --follow-tags",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"pretest": "node -v | grep -q 'v22' || (echo 'Please use Node.js v22 for testing' && exit 1)",
"test:quick": "yarn test:unit && yarn test:sqlite",
"test:release": "yarn test && yarn build && yarn lint:fix",
"test:types": "yarn dev:prepare && vue-tsc --noEmit && cd playground && vue-tsc --noEmit",
"test:unit": "./scripts/test-unit.sh",
"test:integration": "./scripts/test-integration.sh",
"test:sqlite": "./scripts/test-sqlite.sh",
"test:mysql": "./scripts/test-mysql.sh",
"test:postgresql": "./scripts/test-postgresql.sh",
"test": "yarn test:types && yarn test:unit && yarn test:integration && yarn test:sqlite && yarn test:mysql && yarn test:postgresql",
"test:watch": "vitest watch",
"db:create-users-table": "tsx src/cli/create-users-table.ts",
"db:create-user": "tsx src/cli/create-user.ts",
"db:create-personal-access-tokens-table": "tsx src/cli/create-personal-access-tokens-table.ts",
"db:create-password-reset-tokens-table": "tsx src/cli/create-password-reset-tokens-table.ts",
"db:create-migrations-table": "tsx src/cli/create-migrations-table.ts",
"db:migrate": "tsx src/cli/migrate.ts",
"db:create-empty-sqlite": "node scripts/create-empty-sqlite.js",
"docs:dev": "vitepress dev docs",
"docs:build": "vitepress build docs",
"docs:preview": "vitepress preview docs",
"docs:release": "date +%Y%m%d%H%M%S > docs/.lastRelease && yarn docs:build && ./scripts/deploy-docs.sh"
},
"dependencies": {
"bcrypt": "^6.0.0",
"citty": "^0.1.6",
"defu": "^6.1.4",
"google-auth-library": "^10.4.0",
"nodemailer": "^7.0.5"
},
"optionalDependencies": {
"better-sqlite3": "^12.2.0",
"mysql2": "^3.14.2",
"pg": "^8.16.3"
},
"peerDependencies": {
"@nuxt/kit": "^3.17.6 || ^4.0.0",
"bcrypt": "^6.0.0",
"nodemailer": "^7.0.5",
"nuxt-api-shield": "^0.8.0 || ^0.10.0"
},
"peerDependenciesMeta": {
"nuxt-api-shield": {
"optional": true
}
},
"devDependencies": {
"@nuxt/devtools": "^3.0.0",
"@nuxt/eslint-config": "^1.5.2",
"@nuxt/kit": "^4.0.0",
"@nuxt/module-builder": "^1.0.2",
"@nuxt/schema": "^4.0.0",
"@nuxt/test-utils": "^3.19.2",
"@nuxt/vite-builder": "^4.2.0",
"@types/bcrypt": "^6.0.0",
"@types/node": "latest",
"@types/nodemailer": "^6.4.17",
"@types/pg": "^8.15.4",
"changelogen": "^0.6.2",
"eslint": "^9.30.1",
"nuxt": "^4.0.0",
"tsx": "^4.20.3",
"typescript": "~5.9.0",
"unbuild": "^3.0.0",
"vitepress": "^1.6.3",
"vitest": "^4.0.0",
"vue-tsc": "^3.0.1"
}
}