UNPKG

2.67 kBJSONView Raw
1{
2 "name": "graphql-upload-ts",
3 "version": "2.1.2",
4 "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.",
5 "keywords": [
6 "typescript",
7 "graphql-upload-typescript",
8 "graphql",
9 "upload",
10 "file",
11 "multipart",
12 "server",
13 "koa",
14 "express",
15 "apollo",
16 "esm",
17 "mjs"
18 ],
19 "homepage": "https://github.com/meabed/graphql-upload-ts#readme",
20 "bugs": "https://github.com/meabed/graphql-upload-ts/issues",
21 "repository": {
22 "type": "git",
23 "url": "https://github.com/meabed/graphql-upload-ts"
24 },
25 "license": "MIT",
26 "author": {
27 "name": "Mohamed Meabed",
28 "email": "mo@meabed.com",
29 "url": "https://meabed.com"
30 },
31 "maintainers": [
32 {
33 "name": "Mohamed Meabed",
34 "email": "mo@meabed.com",
35 "url": "https://meabed.com"
36 }
37 ],
38 "main": "dist/index.js",
39 "types": "dist/index.d.ts",
40 "typings": "dist/index.d.ts",
41 "files": [
42 "dist"
43 ],
44 "scripts": {
45 "build": "rm -rf dist && tsc -p . --skipLibCheck",
46 "ci": "npm run lint && npm t",
47 "lint": "eslint src __tests__",
48 "lint-fix": "yarn lint -- --fix",
49 "prepare": "yarn husky install",
50 "prepublishOnly": "yarn build",
51 "prettier": "prettier --write \"src/**/*.{ts,tsx,js,jsx}\" \"__tests__/**/*.{ts,tsx,js,jsx}\"",
52 "test": "NODE_ENV=test NODE_OPTIONS=--experimental-vm-modules jest --config jest.config.js"
53 },
54 "lint-staged": {
55 "src/*.{ts,tsx,js,jsx}": "prettier --write",
56 "__tests__/*.{ts,tsx,js,jsx}": "prettier --write"
57 },
58 "dependencies": {
59 "busboy": "^1.6.0",
60 "http-errors": "^2.0.0",
61 "object-path": "^0.11.8"
62 },
63 "devDependencies": {
64 "@trivago/prettier-plugin-sort-imports": "4.3.0",
65 "@types/busboy": "1.5.3",
66 "@types/express": "4.17.21",
67 "@types/jest": "29.5.12",
68 "@types/koa": "2.15.0",
69 "@types/object-path": "0.11.4",
70 "@typescript-eslint/eslint-plugin": "7.0.2",
71 "@typescript-eslint/parser": "7.0.2",
72 "eslint": "8.57.0",
73 "eslint-config-prettier": "9.1.0",
74 "eslint-plugin-prettier": "5.1.3",
75 "express": "4.18.2",
76 "form-data": "4.0.0",
77 "form-data-encoder": "^4.0.2",
78 "graphql": "16.8.1",
79 "husky": "9.0.11",
80 "jest": "29.7.0",
81 "koa": "2.15.0",
82 "lint-staged": "15.2.2",
83 "node-fetch": "^3.3.2",
84 "prettier": "3.2.5",
85 "ts-jest": "29.1.2",
86 "ts-node": "10.9.2",
87 "typescript": "5.3.3"
88 },
89 "peerDependencies": {
90 "graphql": ">=0.13.1"
91 },
92 "engines": {
93 "node": ">=12"
94 },
95 "engineStrict": false
96}