1 | {
|
2 | "name": "graphql-upload",
|
3 | "version": "16.0.2",
|
4 | "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.",
|
5 | "license": "MIT",
|
6 | "author": {
|
7 | "name": "Jayden Seric",
|
8 | "email": "me@jaydenseric.com",
|
9 | "url": "https://jaydenseric.com"
|
10 | },
|
11 | "repository": "github:jaydenseric/graphql-upload",
|
12 | "homepage": "https://github.com/jaydenseric/graphql-upload#readme",
|
13 | "bugs": "https://github.com/jaydenseric/graphql-upload/issues",
|
14 | "funding": "https://github.com/sponsors/jaydenseric",
|
15 | "keywords": [
|
16 | "graphql",
|
17 | "upload",
|
18 | "file",
|
19 | "multipart",
|
20 | "request",
|
21 | "server",
|
22 | "middleware",
|
23 | "koa",
|
24 | "express",
|
25 | "apollo",
|
26 | "esm",
|
27 | "mjs"
|
28 | ],
|
29 | "files": [
|
30 | "GRAPHQL_MULTIPART_REQUEST_SPEC_URL.mjs",
|
31 | "GraphQLUpload.mjs",
|
32 | "graphqlUploadExpress.mjs",
|
33 | "graphqlUploadKoa.mjs",
|
34 | "ignoreStream.mjs",
|
35 | "processRequest.mjs",
|
36 | "Upload.mjs"
|
37 | ],
|
38 | "sideEffects": false,
|
39 | "exports": {
|
40 | "./GraphQLUpload.mjs": "./GraphQLUpload.mjs",
|
41 | "./graphqlUploadExpress.mjs": "./graphqlUploadExpress.mjs",
|
42 | "./graphqlUploadKoa.mjs": "./graphqlUploadKoa.mjs",
|
43 | "./package.json": "./package.json",
|
44 | "./processRequest.mjs": "./processRequest.mjs",
|
45 | "./Upload.mjs": "./Upload.mjs"
|
46 | },
|
47 | "engines": {
|
48 | "node": "^14.17.0 || ^16.0.0 || >= 18.0.0"
|
49 | },
|
50 | "peerDependencies": {
|
51 | "@types/express": "^4.0.29",
|
52 | "@types/koa": "^2.11.4",
|
53 | "graphql": "^16.3.0"
|
54 | },
|
55 | "peerDependenciesMeta": {
|
56 | "@types/express": {
|
57 | "optional": true
|
58 | },
|
59 | "@types/koa": {
|
60 | "optional": true
|
61 | }
|
62 | },
|
63 | "dependencies": {
|
64 | "@types/busboy": "^1.5.0",
|
65 | "@types/node": "*",
|
66 | "@types/object-path": "^0.11.1",
|
67 | "busboy": "^1.6.0",
|
68 | "fs-capacitor": "^8.0.0",
|
69 | "http-errors": "^2.0.0",
|
70 | "object-path": "^0.11.8"
|
71 | },
|
72 | "devDependencies": {
|
73 | "@types/express": "^4.17.13",
|
74 | "@types/koa": "^2.13.5",
|
75 | "coverage-node": "^8.0.0",
|
76 | "eslint": "^8.23.0",
|
77 | "eslint-plugin-simple-import-sort": "^7.0.0",
|
78 | "express": "^4.18.1",
|
79 | "form-data-encoder": "^2.1.0",
|
80 | "graphql": "^16.6.0",
|
81 | "koa": "^2.13.4",
|
82 | "node-abort-controller": "^3.0.1",
|
83 | "node-fetch": "^3.2.10",
|
84 | "prettier": "^2.6.2",
|
85 | "test-director": "^10.0.0",
|
86 | "typescript": "^4.8.2"
|
87 | },
|
88 | "scripts": {
|
89 | "eslint": "eslint .",
|
90 | "prettier": "prettier -c .",
|
91 | "types": "tsc -p jsconfig.json",
|
92 | "tests": "coverage-node --unhandled-rejections=throw test.mjs",
|
93 | "test": "npm run eslint && npm run prettier && npm run types && npm run tests",
|
94 | "prepublishOnly": "npm test"
|
95 | }
|
96 | }
|