-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
110 lines (110 loc) · 3 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
{
"name": "@tracworx/nestjs-dataloader",
"version": "1.2.1",
"description": "Quick and easy GraphQL dataloaders for NestJS",
"keywords": [
"nest",
"nestjs",
"graphql",
"gql",
"dataloader",
"loader",
"batch"
],
"homepage": "https://github.com/tracworx/nestjs-dataloader#readme",
"repository": {
"type": "git",
"url": "https://github.com/tracworx/nestjs-dataloader.git"
},
"author": {
"name": "Eoin O'Brien",
"email": "eoin@tracworx.ai",
"url": "https://tracworx.ai/"
},
"license": "MIT",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"/dist",
"!**/*.tsbuildinfo"
],
"scripts": {
"prebuild": "rimraf dist",
"build": "nest build",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
"test": "jest",
"test:watch": "jest --watch",
"test:cov": "jest --coverage",
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
"test:e2e": "jest --config ./test/jest-e2e.json",
"prepare": "npm run build",
"prepublishOnly": "npm test && npm run test:e2e && npm run lint",
"preversion": "npm test && npm run test:e2e",
"postversion": "git push && git push --tags"
},
"peerDependencies": {
"@nestjs/common": "^8.0.0 || ^9.0.0",
"@nestjs/core": "^8.0.0 || ^9.0.0",
"@nestjs/graphql": "^8.0.0 || ^9.0.0 || ^10.0.0",
"graphql": "^15.0.0 || ^16.0.0",
"reflect-metadata": "^0.1.12"
},
"dependencies": {
"dataloader": "^2.0.0",
"rxjs": "^7.2.0",
"tslib": "^2.3.1"
},
"devDependencies": {
"@golevelup/ts-jest": "0.4.0",
"@nestjs/apollo": "10.2.1",
"@nestjs/cli": "10.2.1",
"@nestjs/common": "9.4.3",
"@nestjs/core": "9.4.3",
"@nestjs/graphql": "10.2.1",
"@nestjs/platform-express": "9.4.3",
"@nestjs/schematics": "9.2.0",
"@nestjs/testing": "9.4.3",
"@tsconfig/node14": "14.1.0",
"@types/express": "4.17.21",
"@types/jest": "29.5.11",
"@types/node": "20.10.4",
"@types/supertest": "2.0.16",
"@typescript-eslint/eslint-plugin": "6.13.2",
"@typescript-eslint/parser": "6.13.2",
"apollo-server-express": "3.13.0",
"eslint": "8.55.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-prettier": "5.0.1",
"graphql": "15.8.0",
"jest": "29.7.0",
"prettier": "3.1.0",
"reflect-metadata": "0.1.14",
"rimraf": "5.0.5",
"source-map-support": "0.5.21",
"supertest": "6.3.3",
"ts-jest": "29.1.1",
"ts-loader": "9.5.1",
"ts-node": "10.9.2",
"tsconfig-paths": "4.2.0",
"typescript": "5.1.6"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".*\\.spec\\.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"collectCoverageFrom": [
"**/*.(t|j)s",
"!index.ts"
],
"coverageDirectory": "../coverage",
"testEnvironment": "node"
}
}