-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
63 lines (63 loc) · 1.78 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
{
"name": "nestjs-role-protected",
"version": "0.2.0",
"description": "Protect GraphQL resolvers with rbac",
"author": "Rokket Labs",
"license": "MIT",
"scripts": {
"build": "rm -rf dist && tsc -p tsconfig.json",
"prepublish:npm": "npm run build",
"publish:npm": "npm publish --access public",
"prepublish:next": "npm run build",
"publish:next": "npm publish --access public --tag next",
"test:integration": "jest --config ./tests/jest-e2e.json --runInBand"
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"devDependencies": {
"@nestjs/testing": "^7.3.2",
"@types/jest": "^26.0.4",
"@types/node": "^14.0.23",
"@types/supertest": "^2.0.10",
"@types/uuid": "^8.0.0",
"@typescript-eslint/eslint-plugin": "^3.6.1",
"@typescript-eslint/parser": "^3.6.1",
"eslint": "^7.4.0",
"eslint-config-prettier": "^6.11.0",
"eslint-config-rokket-labs": "^0.1.5",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-prettier": "^3.1.4",
"prettier": "^2.0.5",
"reflect-metadata": "^0.1.13",
"supertest": "^4.0.2",
"ts-jest": "^26.1.2",
"ts-node": "^8.10.2",
"tsconfig-paths": "^3.9.0",
"typescript": "3.8.3"
},
"dependencies": {
"@nestjs/common": "^7.3.2",
"@nestjs/core": "^7.3.2",
"@nestjs/graphql": "^7.5.5",
"@nestjs/jwt": "^7.1.0",
"@nestjs/passport": "^7.1.0",
"accesscontrol": "^2.2.1",
"nest-access-control": "^2.0.2",
"passport": "^0.4.1",
"passport-jwt": "^4.0.0",
"rxjs": "^6.6.0"
},
"peerDependencies": {
"@nestjs/common": "^7.3.2",
"@nestjs/core": "^7.3.2",
"@nestjs/graphql": "^7.5.5",
"@nestjs/passport": "^7.1.0",
"reflect-metadata": "^0.1.13"
},
"lint-staged": {
"*.ts": [
"prettier --write",
"git add"
]
}
}