/
package.json
82 lines (82 loc) · 2.5 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
{
"name": "graphql-upload",
"version": "8.0.6",
"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",
"keywords": [
"graphql",
"upload",
"file",
"multipart",
"server",
"koa",
"express",
"apollo",
"esm",
"mjs"
],
"files": [
"lib",
"!lib/test.*"
],
"main": "lib",
"engines": {
"node": ">=8.5"
},
"browserslist": "node 8.5",
"peerDependencies": {
"graphql": "0.13.1 - 14"
},
"dependencies": {
"busboy": "^0.3.1",
"fs-capacitor": "^2.0.4",
"http-errors": "^1.7.2",
"object-path": "^0.11.4"
},
"devDependencies": {
"@babel/cli": "^7.4.4",
"@babel/core": "^7.4.5",
"@babel/preset-env": "^7.4.5",
"babel-eslint": "^10.0.1",
"eslint": "^5.16.0",
"eslint-config-env": "^6.0.0",
"eslint-config-prettier": "^4.3.0",
"eslint-plugin-import": "^2.17.3",
"eslint-plugin-import-order-alphabetical": "^0.0.2",
"eslint-plugin-node": "^9.1.0",
"eslint-plugin-prettier": "^3.1.0",
"express": "^4.17.1",
"express-async-handler": "^1.1.4",
"form-data": "^2.3.3",
"graphql": "^14.3.1",
"husky": "^2.4.1",
"jsdoc-md": "^3.0.0",
"koa": "^2.7.0",
"lint-staged": "^8.2.0",
"node-fetch": "^2.6.0",
"prettier": "^1.18.2",
"tap": "^14.2.2"
},
"scripts": {
"prepare": "npm run prepare:clean && npm run prepare:mjs && npm run prepare:js && npm run prepare:jsdoc && npm run prepare:prettier",
"prepare:clean": "rm -rf lib",
"prepare:mjs": "BABEL_ESM=1 babel src -d lib --keep-file-extension",
"prepare:js": "babel src -d lib",
"prepare:jsdoc": "jsdoc-md",
"prepare:prettier": "prettier 'lib/**/*.{mjs,js}' readme.md --write",
"test": "npm run test:eslint && npm run test:prettier && npm run test:mjs && npm run test:js",
"test:eslint": "eslint . --ext mjs,js",
"test:prettier": "prettier '**/*.{json,yml,md}' -l",
"test:mjs": "node --experimental-modules --no-warnings lib/test | tap-mocha-reporter classic",
"test:js": "node lib/test | tap-mocha-reporter classic",
"prepublishOnly": "npm test"
}
}