prisma-nestjs-graphql
Version:
Generate object types, inputs, args, etc. from prisma schema file for usage with @nestjs/graphql module
131 lines (130 loc) • 4.42 kB
JSON
{
"name": "prisma-nestjs-graphql",
"type": "module",
"version": "23.2.1",
"license": "MIT",
"description": "Generate object types, inputs, args, etc. from prisma schema file for usage with @nestjs/graphql module",
"bin": "bin.mjs",
"repository": {
"type": "git",
"url": "https://github.com/unlight/prisma-nestjs-graphql.git"
},
"homepage": "https://github.com/unlight/prisma-nestjs-graphql",
"keywords": [
"nestjs",
"graphql",
"prisma",
"prisma-generator",
"nestjs-graphql"
],
"exports": {
".": {
"default": "./prisma-nestjs-graphql.mjs",
"types": "./prisma-nestjs-graphql.d.ts"
}
},
"scripts": {
"test": "npm run eslint && npm run tscheck && npm run test:r",
"test:r": "vitest --run",
"test:cov": "vitest --run --coverage",
"test:w": "vitest watch",
"tscheck": "tsc --noEmit",
"tscheck:w": "npm run tscheck -- --watch",
"eslint": "node node_modules/eslint/bin/eslint \"src/**/*.{ts,tsx}\"",
"eslint:w": "onchange -v \"**/*.ts\" -k -i -- npm run eslint",
"eslint:fix": "npm run eslint -- --fix",
"build": "sh Taskfile buildMicrobundle6",
"prisma:g": "npx prisma generate",
"prisma:custom:g": "npx prisma generate --schema=./custom-package-generator/schema.prisma",
"format": "npx prettier ./@generated --write --log-level=warn",
"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",
"example": "node --import=@poppinss/ts-exec example/main.ts",
"compatibilty_check": "sh Taskfile compatibilty_check"
},
"config": {},
"peerDependencies": {
"@prisma/generator-helper": "6 - 7",
"identity-type": "1"
},
"dependencies": {
"await-event-emitter": "^2.0.2",
"filenamify": "^7.0.1",
"flat": "^6.0.1",
"get-relative-path": "^1.0.2",
"graceful-fs": "^4.2.11",
"json5": "^2.2.3",
"lodash": "^4.18.1",
"outmatch": "^1.0.0",
"pluralize": "^8.0.0",
"pupa": "^3.3.0",
"ts-morph": "^28.0.0"
},
"devDependencies": {
"@apollo/server": "^5.5.1",
"@as-integrations/express5": "^1.1.2",
"@babel/preset-typescript": "^7.28.5",
"@eslint/compat": "^2.1.0",
"@eslint/js": "^10.0.1",
"@nestjs/apollo": "^13.4.0",
"@nestjs/common": "^11.1.21",
"@nestjs/core": "^11.1.21",
"@nestjs/graphql": "^13.4.0",
"@nestjs/platform-express": "^11.1.21",
"@paljs/plugins": "^9.0.0",
"@poppinss/ts-exec": "^1.4.4",
"@prisma/adapter-pg": "^7.8.0",
"@prisma/client": "^7.8.0",
"@prisma/generator-helper": "^7.8.0",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^12.0.8",
"@types/flat": "^5.0.5",
"@types/graceful-fs": "^4.1.9",
"@types/lodash": "^4.17.24",
"@types/node": "^25.8.0",
"@types/pluralize": "^0.0.33",
"@types/serialize-javascript": "^5.0.4",
"@vitest/coverage-v8": "^4.1.6",
"apollo-server-express": "^3.13.0",
"class-transformer": "^0.5.1",
"class-validator": "^0.15.1",
"conventional-changelog-conventionalcommits": "^9.3.1",
"decimal.js": "^10.6.0",
"dts-bundle-generator": "^9.5.1",
"eslint": "^10.3.0",
"eslint-config-prettier": "^10.1.8",
"eslint-import-resolver-node": "^0.3.10",
"eslint-plugin-etc": "^2.0.3",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-only-warn": "^1.2.1",
"eslint-plugin-perfectionist": "^5.9.0",
"eslint-plugin-prettier": "^5.5.5",
"eslint-plugin-regexp": "^3.1.0",
"eslint-plugin-simple-import-sort": "^13.0.0",
"eslint-plugin-sort-class-members": "^1.22.1",
"eslint-plugin-unicorn": "^64.0.0",
"eslint-plugin-wix-editor": "^3.3.0",
"graphql": "^16.14.0",
"graphql-scalars": "^1.25.0",
"graphql-type-json": "^0.3.2",
"identity-type": "^1.0.0",
"microbundle": "^0.15.1",
"ololog": "^1.1.175",
"precise-commits": "^1.0.2",
"prettier": "^3.8.3",
"prisma": "7",
"prisma-graphql-type-decimal": "^4.0.3",
"reflect-metadata": "^0.2.2",
"rxjs": "^7.8.2",
"semantic-release": "^25.0.3",
"serialize-javascript": "^7.0.5",
"simplytyped": "^3.3.0",
"temp-dir": "^3.0.0",
"tslib": "^2.8.1",
"type-fest": "^5.6.0",
"typescript": "^6.0.3",
"typescript-eslint": "^8.59.3",
"vitest": "^4.1.6"
}
}