1 | {
|
2 | "name": "fastify-guard",
|
3 | "version": "2.0.0",
|
4 | "description": "a simple user role and scope checker plugin to protect endpoints for Fastify",
|
5 | "main": "src/index.js",
|
6 | "scripts": {
|
7 | "test": "jest --verbose -i test.js -t",
|
8 | "dev": "node example.js",
|
9 | "lint": "standard --verbose"
|
10 | },
|
11 | "repository": {
|
12 | "type": "git",
|
13 | "url": "git+https://github.com/hsynlms/fastify-guard.git"
|
14 | },
|
15 | "keywords": [
|
16 | "fastify",
|
17 | "guard",
|
18 | "permission",
|
19 | "role",
|
20 | "scope",
|
21 | "api",
|
22 | "protection"
|
23 | ],
|
24 | "author": "Huseyin ELMAS",
|
25 | "license": "MIT",
|
26 | "bugs": {
|
27 | "url": "https://github.com/hsynlms/fastify-guard/issues"
|
28 | },
|
29 | "homepage": "https://github.com/hsynlms/fastify-guard#readme",
|
30 | "engines": {
|
31 | "node": ">=14.0.0"
|
32 | },
|
33 | "dependencies": {
|
34 | "fastify-plugin": "^3.0.1",
|
35 | "http-errors": "^2.0.0",
|
36 | "lodash.get": "^4.4.2"
|
37 | },
|
38 | "devDependencies": {
|
39 | "@types/http-errors": "^1.8.2",
|
40 | "fastify": "^4.2.0",
|
41 | "jest": "^28.1.2",
|
42 | "standard": "^17.0.0",
|
43 | "tsd": "^0.20.0"
|
44 | },
|
45 | "types": "types"
|
46 | }
|