UNPKG

@pothos/plugin-with-input

Version:

A Pothos plugin for defining fields with input objects

60 lines 1.77 kB
{ "name": "@pothos/plugin-with-input", "version": "4.1.3", "description": "A Pothos plugin for defining fields with input objects", "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" } }, "repository": { "type": "git", "url": "git+https://github.com/hayes/pothos.git", "directory": "packages/plugin-with-input" }, "author": "Michael Hayes", "license": "ISC", "keywords": [ "pothos", "graphql", "schema", "typescript", "plugin", "input" ], "publishConfig": { "access": "public", "provenance": true }, "peerDependencies": { "@pothos/core": "*", "graphql": "^16.10.0" }, "devDependencies": { "@prisma/client": "^6.10.1", "graphql-tag": "^2.12.6", "prisma": "^6.10.1", "@pothos/core": "4.7.3", "@pothos/plugin-prisma": "4.10.0", "@pothos/plugin-zod": "4.2.2", "@pothos/test-utils": "2.1.2" }, "scripts": { "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 && pnpm esm:extensions", "build:dts": "tsc", "esm:extensions": "TS_NODE_PROJECT=../../tsconfig.json node -r @swc-node/register ../../scripts/esm-transformer.ts", "generate": "prisma generate", "test": "pnpm vitest --run" } }