@alpha018/nestjs-firebase-auth
Version:
NestJS Firebase library and Role based guard for authentication with some utils functions
132 lines (131 loc) • 3.8 kB
JSON
{
"name": "@alpha018/nestjs-firebase-auth",
"version": "1.9.1",
"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",
"prepare": "husky || exit 0"
},
"dependencies": {
"@nestjs/common": "^11.1.9",
"@nestjs/config": "^4.0.2",
"@nestjs/platform-express": "^11.1.9",
"firebase": "^12.7.0",
"firebase-admin": "^13.6.0",
"globals": "^16.5.0",
"passport-jwt": "^4.0.1"
},
"devDependencies": {
"@commitlint/cli": "^20.2.0",
"@commitlint/config-conventional": "^20.2.0",
"@eslint/js": "^9.39.2",
"@nestjs/cli": "^11.0.14",
"@nestjs/schematics": "^11.0.9",
"@nestjs/testing": "^11.1.9",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/commit-analyzer": "^13.0.1",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^12.0.2",
"@semantic-release/npm": "^13.1.3",
"@semantic-release/release-notes-generator": "^14.1.0",
"@stylistic/eslint-plugin": "^5.6.1",
"@types/express": "^5.0.6",
"@types/jest": "^30.0.0",
"@types/node": "^25.0.3",
"@types/passport-jwt": "^4.0.1",
"@types/supertest": "^6.0.3",
"@typescript-eslint/eslint-plugin": "^8.50.0",
"@typescript-eslint/parser": "^8.50.0",
"eslint": "^9.39.2",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-perfectionist": "^5.0.0",
"eslint-plugin-prettier": "^5.5.4",
"eslint-plugin-security": "^3.0.1",
"eslint-plugin-sonarjs": "^3.0.5",
"husky": "^9.1.7",
"jest": "^30.2.0",
"jest-junit": "^16.0.0",
"prettier": "^3.7.4",
"source-map-support": "^0.5.21",
"supertest": "^7.1.4",
"ts-jest": "^29.4.6",
"ts-loader": "^9.5.4",
"ts-node": "^10.9.2",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.9.3",
"typescript-eslint": "^8.50.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"
}
}