{ "name": "@pothos/plugin-prisma-utils", "version": "1.3.6", "description": "A Pothos plugin containing utility functions for building prisma inputs", "main": "./lib/index.js", "types": "./dts/index.d.ts", "module": "./esm/index.js", "exports": { "import": { "default": "./esm/index.js" }, "require": { "types": "./dts/index.d.ts", "default": "./lib/index.js" } }, "scripts": { "generate": "prisma generate && tsx tests/examples/codegen/generator.ts && pnpm schema", "schema": "tsx tests/examples/codegen/schema/index.ts && tsx tests/examples/crud/schema/index.ts", "type": "tsc --project tsconfig.type.json", "build": "pnpm build:clean && pnpm build:cjs && pnpm build:dts && pnpm build:esm", "build:clean": "git clean -dfX esm lib", "build:cjs": "swc src -d lib --config-file ../../.swcrc -C module.type=commonjs --strip-leading-paths", "build:esm": "cp -r dts/* esm/ && swc src -d esm --config-file ../../.swcrc -C module.type=es6 --strip-leading-paths", "build:dts": "tsc", "test": "pnpm prisma migrate reset -f && pnpm prisma db seed && pnpm vitest --run" }, "repository": { "type": "git", "url": "git+https://github.com/hayes/pothos.git", "directory": "packages/plugin-prisma-utils" }, "author": "Michael Hayes", "license": "ISC", "keywords": [ "pothos", "graphql", "schema", "typescript", "prisma" ], "publishConfig": { "access": "public", "provenance": true }, "prisma": { "seed": "tsx prisma/seed.ts" }, "dependencies": { "@prisma/generator-helper": "^7.7.0" }, "peerDependencies": { "@pothos/core": "*", "@pothos/plugin-prisma": "*", "@prisma/client": "*", "graphql": "^16.10.0 || ^17.0.0" }, "devDependencies": { "@pothos/core": "workspace:*", "@pothos/plugin-prisma": "workspace:*", "@pothos/plugin-with-input": "workspace:*", "@pothos/test-utils": "workspace:*", "@prisma/adapter-pg": "^7.7.0", "@prisma/client": "^7.7.0", "@types/pg": "^8.20.0", "@typescript/typescript6": "^6.0.2", "graphql-scalars": "^1.25.0", "graphql-tag": "^2.12.6", "pg": "^8.20.0", "prettier": "^3.8.2", "prisma": "^7.7.0", "zod": "^4.3.6" } }