-
Notifications
You must be signed in to change notification settings - Fork 79
/
package.json
151 lines (151 loc) · 5 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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
{
"name": "prisma-nestjs-graphql",
"version": "0.0.0-dev",
"license": "MIT",
"description": "Generate object types, inputs, args, etc. from prisma schema file for usage with @nestjs/graphql module",
"bin": "bin.js",
"repository": "https://github.com/unlight/nestjs-graphql-prisma.git",
"bugs": {
"url": "https://github.com/unlight/nestjs-graphql-prisma/issues"
},
"homepage": "https://github.com/unlight/nestjs-graphql-prisma#readme",
"keywords": [
"nestjs",
"graphql",
"prisma",
"prisma-generator",
"nestjs-graphql"
],
"main": "./dist/index.cjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"require": "./dist/index.cjs",
"types": "./dist/index.d.ts"
},
"./generate": {
"require": "./dist/generate.cjs",
"types": "./dist/generate.d.ts"
}
},
"typesVersions": {
"*": {
"generate": [
"dist/generate.d.ts"
]
}
},
"scripts": {
"test": "npm run eslint && npm run tscheck && npm run test:cov",
"mocha": "node node_modules/mocha/bin/mocha",
"test:r": "npm run mocha -- -r ts-node/register --no-timeouts src/**/*.spec.ts",
"test:cov": "c8 --reporter text --exclude \"**/*.spec.ts\" --exclude \"**/test/**\" npm run test:r",
"test:w": "npm run test:r -- --watch-files src --watch",
"test:d": "ndb -r @swc/register node_modules/mocha/bin/_mocha --no-timeouts --watch-files src/**/*.ts --watch src/**/*.spec.ts",
"tscheck": "tsc --noEmit",
"tscheck:w": "npm run tscheck -- --watch",
"eslint": "node node_modules/eslint/bin/eslint \"src/**/*.{ts,tsx}\"",
"eslint:w": "watchexec -w src \"npm run eslint\"",
"eslint:fix": "npm run eslint -- --fix",
"build": "sh Taskfile build",
"prisma:g": "node node_modules/prisma/build/index.js generate",
"prisma:custom:g": "node node_modules/prisma/build/index.js generate --schema=./custom-package-generator/schema.prisma",
"format": "npx prettier ./@generated --write",
"regen": "rm -rf @generated && npm run prisma:g && npm run format",
"regen:custom": "rm -rf @generated-custom && npm run prisma:custom:g && npm run format",
"rt": "npm run regen && npm test",
"example": "node-dev example/main.ts",
"clean_cache": "rm -rf node_modules/.cache",
"compatibilty_check": "sh Taskfile compatibilty_check",
"commit": "cz"
},
"config": {
"commitizen": {
"path": "node_modules/cz-customizable"
},
"ghooks": {
"pre-commit": "precise-commits",
"commit-msg": "sh Taskfile commit_lint"
}
},
"dependencies": {
"@prisma/generator-helper": "^5.14.0",
"await-event-emitter": "^2.0.2",
"filenamify": "4.X",
"flat": "5.X",
"get-relative-path": "^1.0.2",
"graceful-fs": "^4.2.11",
"json5": "^2.2.3",
"lodash": "^4.17.21",
"outmatch": "^0.7.0",
"pluralize": "^8.0.0",
"pupa": "2.X",
"ts-morph": ">=11 <=16"
},
"devDependencies": {
"@commitlint/cli": "^18.4.3",
"@commitlint/config-conventional": "^18.4.3",
"@nestjs/apollo": "^12.1.0",
"@nestjs/common": "^10.3.8",
"@nestjs/core": "^10.3.8",
"@nestjs/graphql": "^12.1.1",
"@nestjs/platform-express": "^10.3.8",
"@paljs/plugins": "^6.0.7",
"@prisma/client": "^5.14.0",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^9.2.5",
"@swc/core": "^1.5.7",
"@swc/helpers": "^0.5.11",
"@swc/register": "^0.1.10",
"@types/flat": "^5.0.5",
"@types/graceful-fs": "^4.1.9",
"@types/lodash": "^4.17.4",
"@types/mocha": "^10.0.6",
"@types/node": "^20.12.12",
"@types/pluralize": "^0.0.33",
"@typescript-eslint/eslint-plugin": "^6.14.0",
"@typescript-eslint/parser": "^6.14.0",
"apollo-server-express": "^3.13.0",
"c8": "^9.1.0",
"class-transformer": "^0.5.1",
"class-validator": "^0.14.1",
"commitizen": "^4.3.0",
"cz-customizable": "^7.0.0",
"decimal.js": "^10.4.3",
"eslint": "^8.55.0",
"eslint-import-resolver-node": "^0.3.9",
"eslint-plugin-etc": "^2.0.3",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-only-warn": "^1.1.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-regexp": "^2.5.0",
"eslint-plugin-simple-import-sort": "^10.0.0",
"eslint-plugin-sort-class-members": "^1.20.0",
"eslint-plugin-unicorn": "^53.0.0",
"eslint-plugin-wix-editor": "^3.3.0",
"expect": "^29.7.0",
"git-branch-is": "^4.0.0",
"graphql": "^16.8.1",
"graphql-scalars": "^1.23.0",
"graphql-type-json": "^0.3.2",
"mocha": "^10.4.0",
"ololog": "^1.1.175",
"pkgroll": "^2.1.0",
"precise-commits": "^1.0.2",
"prettier": "^3.2.5",
"prisma": "^5.14.0",
"prisma-graphql-type-decimal": "^3.0.0",
"reflect-metadata": "^0.2.2",
"request": "^2.88.2",
"rxjs": "^7.8.1",
"semantic-release": "^22.0.12",
"simplytyped": "^3.3.0",
"temp-dir": "2.X",
"ts-node": "^10.9.2",
"tslib": "^2.6.2",
"type-fest": "^4.18.2",
"typescript": "^5.4.5",
"watchexec-bin": "^1.0.0"
}
}