84 lines
2.3 KiB
JSON
84 lines
2.3 KiB
JSON
{
|
|
"name": "graphql-upload",
|
|
"version": "11.0.0",
|
|
"description": "Middleware and an Upload scalar to add support for GraphQL multipart requests (file uploads via queries and mutations) to various Node.js GraphQL servers.",
|
|
"license": "MIT",
|
|
"author": {
|
|
"name": "Jayden Seric",
|
|
"email": "me@jaydenseric.com",
|
|
"url": "https://jaydenseric.com"
|
|
},
|
|
"repository": "github:jaydenseric/graphql-upload",
|
|
"homepage": "https://github.com/jaydenseric/graphql-upload#readme",
|
|
"bugs": "https://github.com/jaydenseric/graphql-upload/issues",
|
|
"funding": "https://github.com/sponsors/jaydenseric",
|
|
"keywords": [
|
|
"graphql",
|
|
"upload",
|
|
"file",
|
|
"multipart",
|
|
"server",
|
|
"koa",
|
|
"express",
|
|
"apollo",
|
|
"esm",
|
|
"mjs"
|
|
],
|
|
"files": [
|
|
"private",
|
|
"public"
|
|
],
|
|
"main": "public",
|
|
"exports": {
|
|
".": {
|
|
"import": "./public/index.mjs",
|
|
"require": "./public/index.js"
|
|
},
|
|
"./public/": "./public/",
|
|
"./package": "./package.json",
|
|
"./package.json": "./package.json"
|
|
},
|
|
"engines": {
|
|
"node": "^10.13.0 || ^12.0.0 || >= 13.7.0"
|
|
},
|
|
"peerDependencies": {
|
|
"graphql": "0.13.1 - 15"
|
|
},
|
|
"dependencies": {
|
|
"busboy": "^0.3.1",
|
|
"fs-capacitor": "^6.1.0",
|
|
"http-errors": "^1.7.3",
|
|
"isobject": "^4.0.0",
|
|
"object-path": "^0.11.4"
|
|
},
|
|
"devDependencies": {
|
|
"coverage-node": "^2.0.3",
|
|
"eslint": "^7.1.0",
|
|
"eslint-config-env": "^14.0.0",
|
|
"eslint-config-prettier": "^6.11.0",
|
|
"eslint-plugin-import": "^2.20.2",
|
|
"eslint-plugin-jsdoc": "^25.4.2",
|
|
"eslint-plugin-node": "^11.1.0",
|
|
"eslint-plugin-prettier": "^3.1.3",
|
|
"express": "^4.17.1",
|
|
"form-data": "^3.0.0",
|
|
"graphql": "^15.0.0",
|
|
"hard-rejection": "^2.1.0",
|
|
"jsdoc-md": "^6.0.0",
|
|
"koa": "^2.12.0",
|
|
"node-fetch": "^2.6.0",
|
|
"prettier": "^2.0.5",
|
|
"test-director": "^4.0.1"
|
|
},
|
|
"scripts": {
|
|
"prepare": "npm run prepare:jsdoc && npm run prepare:prettier",
|
|
"prepare:jsdoc": "jsdoc-md",
|
|
"prepare:prettier": "prettier --write readme.md",
|
|
"test": "npm run test:eslint && npm run test:prettier && npm run test:api",
|
|
"test:eslint": "eslint .",
|
|
"test:prettier": "prettier -c .",
|
|
"test:api": "coverage-node -r hard-rejection/register test",
|
|
"prepublishOnly": "npm test"
|
|
}
|
|
}
|