UNPKG

@alpha018/nestjs-firebase-auth

Version:

NestJS Firebase library and Role based guard for authentication with some utils functions

132 lines (131 loc) 3.83 kB
{ "name": "@alpha018/nestjs-firebase-auth", "version": "1.6.0", "description": "NestJS Firebase library and Role based guard for authentication with some utils functions", "author": "Tomás Alegre <tomas.sa467@gmail.com>", "readmeFilename": "README.md", "main": "dist/index.js", "license": "MIT", "engines": { "node": ">=20.0.0" }, "files": [ "dist/**/*", "*.md" ], "scripts": { "build": "nest build", "format": "prettier --write \"src/**/*.ts\"", "start": "nest start", "start:dev": "nest start --watch", "start:debug": "nest start --debug --watch", "start:prod": "node dist/main", "lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix", "test": "jest", "test:watch": "jest --watch", "test:cov": "jest --coverage", "test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand", "test:e2e": "jest --config ./test/jest-e2e.json", "postinstall": "[ -d '.husky' ] && husky install || true" }, "dependencies": { "@nestjs/common": "^11.1.5", "@nestjs/config": "^4.0.2", "@nestjs/platform-express": "^11.1.5", "firebase": "^12.0.0", "firebase-admin": "^13.4.0", "globals": "^16.3.0", "passport-jwt": "^4.0.1" }, "devDependencies": { "@commitlint/cli": "^19.8.1", "@commitlint/config-conventional": "^19.8.1", "@eslint/js": "^9.32.0", "@nestjs/cli": "^11.0.8", "@nestjs/schematics": "^11.0.5", "@nestjs/testing": "^11.1.5", "@semantic-release/changelog": "^6.0.3", "@semantic-release/commit-analyzer": "^13.0.1", "@semantic-release/git": "^10.0.1", "@semantic-release/github": "^11.0.3", "@semantic-release/npm": "^12.0.2", "@semantic-release/release-notes-generator": "^14.0.3", "@stylistic/eslint-plugin": "^5.2.2", "@types/express": "^5.0.3", "@types/jest": "^30.0.0", "@types/node": "^24.1.0", "@types/passport-jwt": "^4.0.1", "@types/supertest": "^6.0.3", "@typescript-eslint/eslint-plugin": "^8.38.0", "@typescript-eslint/parser": "^8.38.0", "eslint": "^9.32.0", "eslint-config-prettier": "^10.1.8", "eslint-plugin-perfectionist": "^4.15.0", "eslint-plugin-prettier": "^5.5.3", "eslint-plugin-security": "^3.0.1", "eslint-plugin-sonarjs": "^3.0.4", "husky": "^9.1.7", "jest": "^30.0.5", "jest-junit": "^16.0.0", "prettier": "^3.6.2", "source-map-support": "^0.5.21", "supertest": "^7.1.4", "ts-jest": "^29.4.0", "ts-loader": "^9.5.2", "ts-node": "^10.9.2", "tsconfig-paths": "^4.2.0", "typescript": "^5.8.3", "typescript-eslint": "^8.38.0" }, "keywords": [ "nestjs", "firebase", "firebase-admin", "firebase-auth", "guard", "auth", "authentication" ], "publishConfig": { "access": "public" }, "repository": { "type": "git", "url": "git+https://github.com/Alpha018/nestjs-firebase-auth" }, "bugs": { "url": "https://github.com/Alpha018/nestjs-firebase-auth/issues" }, "homepage": "https://github.com/Alpha018/nestjs-firebase-auth#readme", "jest": { "moduleFileExtensions": [ "js", "json", "ts" ], "rootDir": "src", "testRegex": ".*\\.spec\\.ts$", "transform": { "^.+\\.(t|j)s$": "ts-jest" }, "collectCoverageFrom": [ "**/*.(t|j)s" ], "coveragePathIgnorePatterns": [ ".module.ts", ".controller.ts", "main.ts", "console.ts", "index.ts", "<rootDir>/dist", "<rootDir>/config", "<rootDir>/migrations", "<rootDir>/__mocks__", "<rootDir>/.*\\.env\\.ts$", "<rootDir>/.*\\.e2e-spec\\.ts$", "<rootDir>/.*\\.constant\\.ts$" ], "coverageDirectory": "../coverage", "testEnvironment": "node" } }