forked from jaydenseric/graphql-upload
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
122 lines (122 loc) · 3.2 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
{
"name": "graphql-upload",
"version": "15.0.2",
"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": "[email protected]",
"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",
"request",
"server",
"middleware",
"koa",
"express",
"apollo",
"esm",
"mjs"
],
"files": [
"GRAPHQL_MULTIPART_REQUEST_SPEC_URL.js",
"GRAPHQL_MULTIPART_REQUEST_SPEC_URL.d.ts",
"GraphQLUpload.js",
"GraphQLUpload.d.ts",
"graphqlUploadExpress.js",
"graphqlUploadExpress.d.ts",
"graphqlUploadKoa.js",
"graphqlUploadKoa.d.ts",
"ignoreStream.js",
"ignoreStream.d.ts",
"processRequest.js",
"processRequest.d.ts",
"Upload.js",
"Upload.d.ts"
],
"sideEffects": false,
"exports": {
"./GraphQLUpload.js": {
"types": "./GraphQLUpload.d.ts",
"default": "./GraphQLUpload.js"
},
"./graphqlUploadExpress.js": {
"types": "./graphqlUploadExpress.d.ts",
"default": "./graphqlUploadExpress.js"
},
"./graphqlUploadKoa.js": {
"types": "./graphqlUploadKoa.d.ts",
"default": "./graphqlUploadKoa.js"
},
"./package.json": {
"types": "./package.d.ts",
"default": "./package.json"
},
"./processRequest.js": {
"types": "./ocessRequest.d.ts",
"default": "./processRequest.js"
},
"./Upload.js": {
"types": "./Upload.d.ts",
"default": "./Upload.js"
}
},
"engines": {
"node": "^14.17.0 || ^16.0.0 || >= 18.0.0"
},
"peerDependencies": {
"@types/express": "^4.0.29",
"@types/koa": "^2.11.4",
"graphql": "^16.3.0"
},
"peerDependenciesMeta": {
"@types/express": {
"optional": true
},
"@types/koa": {
"optional": true
}
},
"dependencies": {
"@types/busboy": "^1.5.0",
"@types/node": "*",
"@types/object-path": "^0.11.1",
"busboy": "^1.6.0",
"fs-capacitor": "^6.2.0",
"http-errors": "^2.0.0",
"object-path": "^0.11.8"
},
"devDependencies": {
"@types/express": "^4.17.13",
"@types/koa": "^2.13.4",
"coverage-node": "^6.1.0",
"eslint": "^8.18.0",
"eslint-plugin-simple-import-sort": "^7.0.0",
"express": "^4.18.1",
"form-data-encoder": "^2.0.1",
"graphql": "^16.5.0",
"koa": "^2.13.4",
"node-abort-controller": "^3.0.1",
"node-fetch": "^3.2.6",
"prettier": "^2.6.2",
"test-director": "^8.0.2",
"typescript": "^4.7.4",
"rimraf": "^3.0.2"
},
"scripts": {
"eslint": "eslint .",
"prettier": "prettier -c .",
"types": "rimraf *.d.ts *.d.mts && tsc -p jsconfig.json",
"tests": "coverage-node --unhandled-rejections=throw test.mjs",
"test": "npm run eslint && npm run prettier && npm run types && npm run tests",
"prepublishOnly": "npm test"
}
}