package.json
{
"name": "nestjs-roles",
"version": "0.6.0",
"description": "Create custom roles guard and decorator",
"main": "index.js",
"types": "index.d.ts",
"scripts": {
"test": "jest --verbose -i --detectOpenHandles",
"lint": "eslint \"{src,__tests__}/**/*.ts\" --fix",
"prebuild": "rimraf dist",
"build": "tsc -p tsconfig.build.json",
"prepublishOnly": "npm run build && cp -r ./dist/* .",
"postpublish": "git clean -fd"
},
"files": [
"*.{js,d.ts}",
"!jest.config.js",
"!.eslintrc.js"
],
"engineStrict": true,
"engines": {
"node": ">=16.0.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/iamolegga/nestjs-roles.git"
},
"keywords": [
"nest",
"nestjs",
"nest.js",
"role",
"roles",
"guard"
],
"author": "iamolegga <iamolegga@gmail.com> (http://github.com/iamolegga)",
"license": "MIT",
"bugs": {
"url": "https://github.com/iamolegga/nestjs-roles/issues"
},
"homepage": "https://github.com/iamolegga/nestjs-roles#readme",
"devDependencies": {
"@nestjs/common": "^10.1.3",
"@nestjs/core": "^10.1.3",
"@nestjs/platform-express": "^10.1.3",
"@nestjs/platform-fastify": "^10.1.3",
"@types/jest": "^29.5.3",
"@types/node": "^22.0.0",
"@types/supertest": "^2.0.12",
"@typescript-eslint/eslint-plugin": "^7.0.0",
"@typescript-eslint/parser": "^6.4.0",
"eslint": "^8.47.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-import": "^2.28.0",
"eslint-plugin-prettier": "^5.0.0",
"jest": "29.7.0",
"prettier": "^3.0.2",
"reflect-metadata": "^0.1.13",
"rimraf": "^6.0.0",
"rxjs": "^7.8.1",
"supertest": "^7.0.0",
"ts-jest": "^29.1.1",
"ts-loader": "^9.4.4",
"ts-node": "^10.9.1",
"typescript": "^4.3.5"
},
"peerDependencies": {
"@nestjs/common": "^8.0.0 || ^9.0.0 || ^10.0.0",
"@nestjs/core": "^8.0.0 || ^9.0.0 || ^10.0.0"
}
}