UNPKG

cor-base-service

Version:

Library build upon COR web services. Handles authN/authZ, standarizes logging and error messages

69 lines (68 loc) 2.04 kB
{ "name": "cor-base-service", "version": "1.0.3", "description": "Library build upon COR web services. Handles authN/authZ, standarizes logging and error messages", "author": "Dimitris Zervas <d.a.zervas@gmail.com>", "main": "lib/src/index", "types": "lib/src/index", "scripts": { "build": "./node_modules/.bin/tsc -d", "lint": "eslint --ext js,ts src test", "lint:fix": "npm run lint -- --fix", "test": "jest --no-cache --runInBand --verbose=true", "test:ci": "jest --ci --reporters=default --reporters=jest-junit --coverage" }, "repository": { "type": "git", "url": "git+https://github.com/dimitris-zervas/cor-base-service-js.git" }, "keywords": [ "cor", "web-services", "backend", "express" ], "license": "MIT License", "bugs": { "url": "https://github.com/dimitris-zervas/cor-base-service-js/issues" }, "homepage": "https://github.com/dimitris-zervas/cor-base-service-js#readme", "devDependencies": { "@jest-mock/express": "^2.0.1", "@tsconfig/node18": "^2.0.0", "@types/dotenv": "^8.2.0", "@types/express": "^4.17.17", "@types/express-list-endpoints": "^6.0.0", "@types/jest": "^29.5.1", "@types/pino": "^7.0.5", "@types/supertest": "^2.0.12", "@types/uuid": "^9.0.1", "@typescript-eslint/eslint-plugin": "^5.59.6", "@typescript-eslint/parser": "^5.59.6", "dotenv": "^16.0.3", "eslint": "^8.41.0", "jest": "^29.5.0", "jest-junit": "^16.0.0", "supertest": "^6.3.3", "ts-jest": "^29.1.0", "ts-node": "^10.9.1", "typescript": "^5.0.4", "uuid": "^9.0.0" }, "dependencies": { "@types/ws": "^8.5.4", "express": "^4.18.2", "express-async-handler": "^1.2.0", "express-list-endpoints": "^6.0.0", "express-openapi-validator": "^5.0.4", "http-status-codes": "^2.2.0", "jsonwebtoken": "^9.0.0", "jwks-rsa": "^3.0.1", "jwt-decode": "^3.1.2", "pino-http": "^8.3.3", "ws": "^8.13.0" }, "peerDependencies": { "pino": "^8.12.1" } }