UNPKG

graphql-upload-ts

Version:

Typescript minimalistic and developer friendly middleware and an Upload scalar to add support for GraphQL multipart requests (file uploads via queries and mutations) to various Node.js GraphQL servers.

97 lines (96 loc) 2.67 kB
{ "name": "graphql-upload-ts", "version": "2.1.2", "description": "Typescript minimalistic and developer friendly middleware and an Upload scalar to add support for GraphQL multipart requests (file uploads via queries and mutations) to various Node.js GraphQL servers.", "keywords": [ "typescript", "graphql-upload-typescript", "graphql", "upload", "file", "multipart", "server", "koa", "express", "apollo", "esm", "mjs" ], "homepage": "https://github.com/meabed/graphql-upload-ts#readme", "bugs": "https://github.com/meabed/graphql-upload-ts/issues", "repository": { "type": "git", "url": "https://github.com/meabed/graphql-upload-ts" }, "license": "MIT", "author": { "name": "Mohamed Meabed", "email": "mo@meabed.com", "url": "https://meabed.com" }, "maintainers": [ { "name": "Mohamed Meabed", "email": "mo@meabed.com", "url": "https://meabed.com" } ], "main": "dist/index.js", "types": "dist/index.d.ts", "typings": "dist/index.d.ts", "files": [ "dist" ], "scripts": { "build": "rm -rf dist && tsc -p . --skipLibCheck", "ci": "npm run lint && npm t", "lint": "eslint src __tests__", "lint-fix": "yarn lint -- --fix", "prepare": "yarn husky install", "prepublishOnly": "yarn build", "prettier": "prettier --write \"src/**/*.{ts,tsx,js,jsx}\" \"__tests__/**/*.{ts,tsx,js,jsx}\"", "test": "NODE_ENV=test NODE_OPTIONS=--experimental-vm-modules jest --config jest.config.js" }, "lint-staged": { "src/*.{ts,tsx,js,jsx}": "prettier --write", "__tests__/*.{ts,tsx,js,jsx}": "prettier --write" }, "dependencies": { "busboy": "^1.6.0", "http-errors": "^2.0.0", "object-path": "^0.11.8" }, "devDependencies": { "@trivago/prettier-plugin-sort-imports": "4.3.0", "@types/busboy": "1.5.3", "@types/express": "4.17.21", "@types/jest": "29.5.12", "@types/koa": "2.15.0", "@types/object-path": "0.11.4", "@typescript-eslint/eslint-plugin": "7.0.2", "@typescript-eslint/parser": "7.0.2", "eslint": "8.57.0", "eslint-config-prettier": "9.1.0", "eslint-plugin-prettier": "5.1.3", "express": "4.18.2", "form-data": "4.0.0", "form-data-encoder": "^4.0.2", "graphql": "16.8.1", "husky": "9.0.11", "jest": "29.7.0", "koa": "2.15.0", "lint-staged": "15.2.2", "node-fetch": "^3.3.2", "prettier": "3.2.5", "ts-jest": "29.1.2", "ts-node": "10.9.2", "typescript": "5.3.3" }, "peerDependencies": { "graphql": ">=0.13.1" }, "engines": { "node": ">=12" }, "engineStrict": false }