@seas-computing/nestjs-harvard-key
Version:
This repository provides a way to connect NestJS applications to HarvardKey and provide a rudimentary form of authorization (in the form of route guards) out of the box
83 lines (82 loc) • 2.24 kB
JSON
{
"name": "@seas-computing/nestjs-harvard-key",
"version": "0.0.7",
"description": "",
"main": "./lib/index.js",
"types": "./lib/index.d.ts",
"repository": {
"type": "git",
"url": "https://github.huit.harvard.edu/SEAS/nestjs-harvard-key.git"
},
"files": [
"lib/*",
"LICENSE"
],
"scripts": {
"build": "rm -rf ./lib/ && tsc --project tsconfig.publish.json",
"test": "TS_NODE_TRANSPILE_ONLY=true nyc mocha",
"lint": "eslint --ext=ts ./src",
"test:watch": "TS_NODE_TRANSPILE_ONLY=true mocha --watch",
"typecheck": "tsc --noEmit",
"docs": "typedoc",
"prepare": "npm run build"
},
"keywords": [
"Authentication",
"Passport",
"Harvard Key",
"Harvard",
"SEAS"
],
"author": "Robert Main",
"license": "BSD-3-Clause",
"devDependencies": {
"@nestjs/common": "^10.2.7",
"@nestjs/core": "^10.2.7",
"@nestjs/passport": "^10.0.2",
"@nestjs/platform-express": "^10.3.0",
"@nestjs/testing": "^10.1.0",
"@types/mocha": "^10.0.1",
"@types/node": "^20.4.2",
"@types/passport": "^1.0.14",
"@types/sinon": "^10.0.19",
"@types/supertest": "^2.0.14",
"@typescript-eslint/eslint-plugin": "^6.9.0",
"@typescript-eslint/parser": "^6.9.0",
"axios": "^1.5.1",
"eslint": "^7.4.0",
"eslint-config-airbnb": "^18.2.0",
"eslint-config-airbnb-typescript": "^17.1.0",
"eslint-import-resolver-node": "^0.3.4",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-mocha": "^5.3.0",
"express": "^4.18.2",
"express-session": "^1.17.3",
"mocha": "^10.2.0",
"nyc": "^15.1.0",
"passport": "^0.6.0",
"raf": "^3.4.1",
"reflect-metadata": "^0.1.13",
"rxjs": "^7.8.1",
"sinon": "^16.1.0",
"supertest": "^6.3.3",
"ts-node": "^10.9.1",
"typedoc": "^0.25.2",
"typescript": "^5.1.6"
},
"peerDependencies": {
"@nestjs/common": ">=10.2",
"@nestjs/core": ">=10.2",
"@nestjs/passport": "^10.0.2",
"axios": "^1.3.4",
"express": ">=4.18.2",
"passport": ">=0.6.0",
"rxjs": ">=7.8.1",
"typescript": ">=4"
},
"dependencies": {
"@nestjs/axios": "^3.0.1",
"@types/express-session": "^1.17.8",
"passport-custom": "^1.1.1"
}
}