UNPKG

@thealiqaf/nestjs-permission-management

Version:
78 lines (77 loc) 1.98 kB
{ "name": "@thealiqaf/nestjs-permission-management", "version": "1.0.1", "description": "A NestJS module for permission management", "author": "Ali Ghorbani <aliqaf.s3@gmail.com>", "private": false, "license": "MIT", "main": "dist/index.js", "types": "dist/index.d.ts", "files": [ "dist/**/*", "LICENSE" ], "repository": { "type": "git", "url": "git+https://github.com/thealiqaf/nestjs-permission-management.git" }, "keywords": [ "nestjs", "permission", "role", "mongoose", "authentication", "authorization" ], "homepage": "https://github.com/thealiqaf/nestjs-permission-management#readme", "scripts": { "build": "tsc", "prepare": "npm run build", "prepublishOnly": "tsc", "test": "jest", "test:watch": "jest --watch", "test:cov": "jest --coverage", "format": "prettier --write \"src/**/*.ts\"", "lint": "eslint \"src/**/*.ts\" --fix" }, "dependencies": { "@nestjs/common": "^11.0.1", "@nestjs/mongoose": "^11.0.3", "class-transformer": "^0.5.1", "class-validator": "^0.14.2", "mongoose": "^8.16.4", "reflect-metadata": "^0.2.2" }, "devDependencies": { "@types/express": "^5.0.3", "@types/jest": "^29.5.14", "@types/node": "^22.10.7", "@nestjs/testing": "^11.0.1", "eslint": "^9.18.0", "eslint-config-prettier": "^10.0.1", "eslint-plugin-prettier": "^5.2.1", "jest": "^29.7.0", "prettier": "^3.4.2", "ts-jest": "^29.2.5", "typescript": "^5.7.3" }, "jest": { "moduleFileExtensions": [ "js", "json", "ts" ], "rootDir": "src", "testRegex": ".*\\.spec\\.ts$", "transform": { "^.+\\.(t|j)s$": "ts-jest" }, "collectCoverageFrom": [ "**/*.ts", "!**/*.spec.ts", "!index.ts" ], "coverageDirectory": "../coverage", "testEnvironment": "node" } }