package.json 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. {
  2. "name": "@uppy/companion",
  3. "version": "3.1.2",
  4. "description": "OAuth helper and remote fetcher for Uppy's (https://uppy.io) extensible file upload widget with support for drag&drop, resumable uploads, previews, restrictions, file processing/encoding, remote providers like Dropbox and Google Drive, S3 and more :dog:",
  5. "main": "lib/companion.js",
  6. "types": "lib/companion.d.ts",
  7. "author": "Transloadit.com",
  8. "license": "ISC",
  9. "homepage": "https://github.com/transloadit/uppy#readme",
  10. "repository": {
  11. "type": "git",
  12. "url": "git+https://github.com/transloadit/uppy.git"
  13. },
  14. "keywords": [
  15. "file uploader",
  16. "progress",
  17. "preview",
  18. "resumable uploads",
  19. "tus",
  20. "s3",
  21. "google drive",
  22. "dropbox",
  23. "box",
  24. "backend",
  25. "websocket",
  26. "express",
  27. "realtime"
  28. ],
  29. "bin": "./bin/companion",
  30. "dependencies": {
  31. "@purest/providers": "1.0.1",
  32. "atob": "2.1.2",
  33. "aws-sdk": "^2.1038.0",
  34. "body-parser": "1.19.0",
  35. "chalk": "2.4.2",
  36. "common-tags": "1.8.0",
  37. "connect-redis": "4.0.3",
  38. "cookie-parser": "1.4.5",
  39. "cors": "^2.8.5",
  40. "escape-string-regexp": "2.0.0",
  41. "express": "4.17.1",
  42. "express-interceptor": "1.2.0",
  43. "express-prom-bundle": "6.3.0",
  44. "express-request-id": "1.4.1",
  45. "express-session": "1.17.1",
  46. "grant": "4.7.0",
  47. "helmet": "^4.6.0",
  48. "ip-address": "6.2.0",
  49. "isobject": "3.0.1",
  50. "jsonwebtoken": "8.5.1",
  51. "lodash.merge": "^4.6.2",
  52. "mime-types": "2.1.25",
  53. "moment": "^2.29.1",
  54. "moment-timezone": "^0.5.31",
  55. "morgan": "1.10.0",
  56. "ms": "2.1.2",
  57. "node-redis-pubsub": "4.0.0",
  58. "node-schedule": "1.3.2",
  59. "prom-client": "12.0.0",
  60. "purest": "3.1.0",
  61. "redis": "3.1.1",
  62. "request": "2.88.2",
  63. "semver": "6.3.0",
  64. "serialize-error": "^2.1.0",
  65. "serialize-javascript": "^6.0.0",
  66. "tus-js-client": "2.1.1",
  67. "uuid": "8.1.0",
  68. "validator": "^12.1.0",
  69. "ws": "6.2.1"
  70. },
  71. "devDependencies": {
  72. "@types/compression": "1.7.0",
  73. "@types/connect-redis": "0.0.7",
  74. "@types/cookie-parser": "1.4.2",
  75. "@types/cors": "2.8.6",
  76. "@types/eslint": "^8.2.0",
  77. "@types/express-session": "1.17.3",
  78. "@types/jsonwebtoken": "8.3.7",
  79. "@types/lodash.merge": "4.6.6",
  80. "@types/morgan": "1.7.37",
  81. "@types/ms": "0.7.31",
  82. "@types/node": "12.12.27",
  83. "@types/react": "^17.0.13",
  84. "@types/request": "2.48.4",
  85. "@types/uuid": "3.4.7",
  86. "@types/webpack": "^5.28.0",
  87. "@types/ws": "6.0.4",
  88. "into-stream": "^6.0.0",
  89. "nock": "^13.1.3",
  90. "supertest": "3.4.2",
  91. "typescript": "~4.4"
  92. },
  93. "files": [
  94. "bin/",
  95. "lib/"
  96. ],
  97. "jest": {
  98. "testEnvironment": "node",
  99. "testTimeout": 10000,
  100. "automock": false,
  101. "collectCoverage": true,
  102. "collectCoverageFrom": [
  103. "src/**",
  104. "!src/**/*.d.ts"
  105. ]
  106. },
  107. "scripts": {
  108. "build": "tsc -p .",
  109. "deploy": "kubectl apply -f infra/kube/companion-kube.yml",
  110. "prepublishOnly": "yarn run build",
  111. "start": "node ./lib/standalone/start-server.js",
  112. "test": "bash -c 'source env.test.sh && ../../../node_modules/jest/bin/jest.js'",
  113. "test:watch": "yarn test -- --watch"
  114. },
  115. "engines": {
  116. "node": ">=10.20.1"
  117. },
  118. "installConfig": {
  119. "hoistingLimits": "workspaces"
  120. }
  121. }