{ "name": "@pothos/selection-mapper", "version": "0.3.0", "description": "shared selection-to-query walker for Pothos ORM plugins", "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": { "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 vitest run" }, "repository": { "type": "git", "url": "git+https://github.com/hayes/pothos.git", "directory": "packages/selection-mapper" }, "author": "Michael Hayes", "license": "ISC", "keywords": [ "pothos", "graphql", "schema", "typescript", "plugin" ], "publishConfig": { "access": "public", "provenance": true }, "peerDependencies": { "@pothos/core": "*", "graphql": "^16.10.0 || ^17.0.0" }, "devDependencies": { "@graphql-tools/executor": "^1.5.2", "@pothos/core": "workspace:*", "@pothos/test-utils": "workspace:*", "graphql": "^17.0.1", "graphql-tag": "^2.12.6", "vitest": "^4.1.4" } }