oauth2-mock-server
Version:
OAuth 2 mock server
97 lines (96 loc) • 2.51 kB
JSON
{
"name": "oauth2-mock-server",
"version": "8.1.0",
"description": "OAuth 2 mock server",
"type": "module",
"keywords": [
"oauth",
"oauth2",
"oauth 2",
"mock",
"fake",
"stub",
"server",
"cli",
"jwt",
"oidc",
"openid",
"connect"
],
"author": {
"name": "Jorge Poveda",
"email": "jorge.poveda@axa-assistance.es"
},
"license": "MIT",
"engines": {
"node": "^20.19 || ^22.12 || ^24"
},
"repository": {
"type": "git",
"url": "git+https://github.com/axa-group/oauth2-mock-server.git"
},
"main": "./dist/index.js",
"types": "./dist/types/index.d.ts",
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"default": "./dist/index.js"
}
},
"bin": {
"oauth2-mock-server": "./dist/oauth2-mock-server.js"
},
"files": [
"CHANGELOG.md",
"MIGRATION.md",
"LICENSE.md",
"README.md",
"dist/**/*.*"
],
"scripts": {
"build": "rollup --config rollup.config.ts --configPlugin @rollup/plugin-typescript",
"prelint": "tsc --noEmit",
"lint": "eslint --cache --cache-location .cache/ --ext=.ts src test --max-warnings 0",
"prepack": "npm run build",
"pretest": "npm run lint",
"test": "vitest --run --coverage",
"test:watch": "vitest --watch"
},
"dependencies": {
"basic-auth": "^2.0.1",
"cors": "^2.8.5",
"express": "^5.1.0",
"is-plain-obj": "^4.1.0",
"jose": "^6.0.11"
},
"devDependencies": {
"@eslint/js": "^9.28.0",
"@rollup/plugin-typescript": "^12.1.2",
"@types/basic-auth": "^1.1.6",
"@types/cors": "^2.8.17",
"@types/express": "^5.0.2",
"@types/node": "^20.17.57",
"@types/supertest": "^6.0.3",
"@typescript-eslint/eslint-plugin": "^8.33.1",
"@typescript-eslint/parser": "^8.33.1",
"@vitest/coverage-v8": "^3.2.1",
"@vitest/eslint-plugin": "^1.2.1",
"eslint": "^9.28.0",
"eslint-config-prettier": "^10.1.3",
"eslint-import-resolver-typescript": "^4.4.2",
"eslint-plugin-import-x": "^4.15.0",
"eslint-plugin-jsdoc": "^50.7.1",
"eslint-plugin-prettier": "^5.4.1",
"prettier": "^3.5.3",
"rollup": "^4.41.1",
"rollup-plugin-dts": "^6.1.0",
"supertest": "^7.1.1",
"tslib": "^2.8.1",
"typescript": "^5.8.3",
"typescript-eslint": "^8.33.1",
"vitest": "^3.2.1"
},
"overrides": {
"@types/node": "$@types/node"
}
}