UNPKG

@jackchuka/gql-ingest

Version:

A CLI tool for ingesting data from files into a GraphQL API. Supports CSV, JSON, JSONL, and YAML file formats.

70 lines 1.72 kB
{ "name": "@jackchuka/gql-ingest", "version": "3.1.2", "description": "A CLI tool for ingesting data from files into a GraphQL API. Supports CSV, JSON, JSONL, and YAML file formats.", "keywords": [ "api", "cli", "csv", "graphql", "ingest" ], "license": "MIT", "author": "jackchuka", "repository": { "type": "git", "url": "https://github.com/jackchuka/gql-ingest.git" }, "bin": { "gql-ingest": "dist/cli/index.js" }, "files": [ "dist" ], "type": "module", "main": "dist/index.js", "types": "dist/index.d.ts", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.js" } }, "dependencies": { "@inquirer/prompts": "^8.2.0", "commander": "^14.0.0", "csv-parser": "^3.0.0", "graphql": "16.12.0", "graphql-request": "^7.2.0", "js-yaml": "^4.1.0", "zod": "^4.3.5" }, "devDependencies": { "@types/jest": "^30.0.0", "@types/js-yaml": "^4.0.9", "@types/node": "^25.0.2", "esbuild": "^0.27.0", "jest": "^30.0.3", "oxfmt": "^0.24.0", "oxlint": "^1.35.0", "oxlint-tsgolint": "^0.11.0", "ts-jest": "^29.4.0", "ts-node": "^10.9.0", "typescript": "^5.3.0" }, "engines": { "node": ">=18" }, "packageManager": "pnpm@8.14.1", "scripts": { "lint": "oxlint --type-aware --tsconfig ./tsconfig.json", "lint:fix": "oxlint --fix --type-aware --tsconfig ./tsconfig.json", "fmt": "oxfmt", "build": "node esbuild.config.js", "build:types": "tsc --emitDeclarationOnly", "build:all": "pnpm run build && pnpm run build:types", "dev": "ts-node src/cli/index.ts", "test": "jest", "test:watch": "jest --watch" } }