UNPKG

json-server-auth

Version:

Authentication middleware for JSON Server

79 lines (78 loc) 1.61 kB
{ "name": "json-server-auth", "description": "Authentication middleware for JSON Server", "version": "2.1.0", "author": "Jeremy Bensimon", "repository": "github:jeremyben/json-server-auth", "license": "MIT", "main": "dist/index.js", "types": "dist/index.d.ts", "bin": { "json-server-auth": "./dist/bin.js" }, "files": [ "dist" ], "engines": { "node": ">=10" }, "engineStrict": true, "scripts": { "build": "rimraf dist && tsc -p tsconfig.build.json", "prepublishOnly": "yarn run build", "test": "jest", "test:file": "jest --testPathPattern", "test:watch": "jest --watch --verbose false", "release": "standard-version" }, "peerDependencies": { "json-server": "*" }, "dependencies": { "bcryptjs": "^2.4.3", "jsonwebtoken": "^8.5.1", "yargs": "^16.2.0" }, "devDependencies": { "@types/bcryptjs": "^2.4.2", "@types/jest": "^26.0.24", "@types/json-server": "^0.14.4", "@types/jsonwebtoken": "^8.5.4", "@types/supertest": "^2.0.11", "@types/yargs": "^16.0.0", "jest": "^27.0.6", "json-server": "^0.16.3", "rimraf": "^3.0.2", "standard-version": "^9.3.1", "supertest": "^6.1.4", "tree-kill": "^1.2.2", "ts-jest": "^27.0.4", "ts-node-dev": "^1.1.8", "tslint": "^6.1.3", "tslint-config-prettier": "^1.18.0", "typescript": "^4.3.5", "typescript-tslint-plugin": "^1.0.1" }, "keywords": [ "JSON", "server", "fake", "REST", "API", "prototyping", "mock", "mocking", "test", "testing", "rest", "data", "dummy", "sandbox", "json-server", "middleware", "auth", "authentication", "authorization", "jwt" ] }