package.json 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. {
  2. "name": "@apollographql/graphql-upload-8-fork",
  3. "version": "8.1.4",
  4. "description": "Fork of graphql-upload@8 that works with graphql@15 for compatibility with apollo-server@2",
  5. "license": "MIT",
  6. "author": "Apollo <opensource@apollographql.com>",
  7. "repository": "github:apollographql/graphql-upload",
  8. "homepage": "https://github.com/apollographql/graphql-upload#readme",
  9. "keywords": [
  10. "graphql",
  11. "upload",
  12. "file",
  13. "multipart",
  14. "server",
  15. "koa",
  16. "express",
  17. "apollo",
  18. "esm",
  19. "mjs"
  20. ],
  21. "files": [
  22. "lib",
  23. "index.d.ts",
  24. "!*.test.*",
  25. "!test-helpers"
  26. ],
  27. "main": "lib",
  28. "types": "index.d.ts",
  29. "engines": {
  30. "node": ">=8.5"
  31. },
  32. "browserslist": "node >= 8.5",
  33. "peerDependencies": {
  34. "graphql": "0.13.1 - 15"
  35. },
  36. "dependencies": {
  37. "@types/express": "*",
  38. "@types/fs-capacitor": "^2.0.0",
  39. "@types/koa": "*",
  40. "busboy": "^0.3.1",
  41. "fs-capacitor": "^2.0.4",
  42. "http-errors": "^1.7.3",
  43. "object-path": "^0.11.4"
  44. },
  45. "devDependencies": {
  46. "@babel/cli": "^7.6.3",
  47. "@babel/core": "^7.6.3",
  48. "@babel/preset-env": "^7.6.3",
  49. "babel-eslint": "^10.0.3",
  50. "eslint": "^6.5.1",
  51. "eslint-config-env": "^9.1.0",
  52. "eslint-config-prettier": "^6.4.0",
  53. "eslint-plugin-import": "^2.18.2",
  54. "eslint-plugin-import-order-alphabetical": "^1.0.0",
  55. "eslint-plugin-jsdoc": "^15.9.10",
  56. "eslint-plugin-node": "^10.0.0",
  57. "eslint-plugin-prettier": "^3.1.1",
  58. "express": "^4.17.1",
  59. "express-async-handler": "^1.1.4",
  60. "form-data": "^2.5.1",
  61. "graphql": "^14.5.8",
  62. "husky": "^3.0.8",
  63. "koa": "^2.8.2",
  64. "lint-staged": "^9.4.2",
  65. "node-fetch": "^2.6.0",
  66. "prettier": "^1.18.2",
  67. "tap": "^14.6.9"
  68. },
  69. "scripts": {
  70. "prepare": "npm run prepare:clean && npm run prepare:mjs && npm run prepare:js && npm run prepare:prettier",
  71. "prepare:clean": "rm -rf lib",
  72. "prepare:mjs": "BABEL_ESM=1 babel src -d lib --keep-file-extension",
  73. "prepare:js": "babel src -d lib",
  74. "prepare:prettier": "prettier 'lib/**/*.{mjs,js}' readme.md --write",
  75. "test": "npm run test:eslint && npm run test:prettier && npm run test:tap",
  76. "test:eslint": "eslint . --ext mjs,js",
  77. "test:prettier": "prettier '**/*.{json,yml,md}' -l",
  78. "test:tap": "tap --test-ignore=src",
  79. "prepublishOnly": "npm test"
  80. }
  81. }