package.json 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. {
  2. "name": "minio",
  3. "version": "8.0.7",
  4. "description": "S3 Compatible Cloud Storage client",
  5. "main": "./dist/main/minio.js",
  6. "module": "./dist/esm/minio.mjs",
  7. "scripts": {
  8. "prepare": "husky install",
  9. "tsc": "tsc",
  10. "type-check": "tsc --noEmit --emitDeclarationOnly false",
  11. "build": "node build.mjs",
  12. "test": "mocha",
  13. "lint": "eslint --ext js,mjs,cjs,ts ./",
  14. "lint-fix": "eslint --ext js,mjs,cjs,ts ./ --fix",
  15. "prepublishOnly": "npm run build",
  16. "functional": "mocha tests/functional/functional-tests.js",
  17. "format": "prettier -w .",
  18. "format-check": "prettier --list-different .",
  19. "lint-staged": "lint-staged"
  20. },
  21. "exports": {
  22. ".": {
  23. "require": "./dist/main/minio.js",
  24. "types": "./dist/main/minio.d.ts",
  25. "default": "./dist/esm/minio.mjs"
  26. },
  27. "./dist/main/internal/*": null,
  28. "./dist/main/*": {
  29. "require": "./dist/main/*",
  30. "default": null
  31. },
  32. "./dist/esm/internal/*": null,
  33. "./dist/esm/*": {
  34. "import": "./dist/esm/*",
  35. "default": null
  36. },
  37. "./package.json": "./package.json"
  38. },
  39. "files": [
  40. "package.json",
  41. "./dist/",
  42. "./src/",
  43. "./types/",
  44. "LICENSE",
  45. "README.md",
  46. "README_zh_CN.md",
  47. "MAINTAINERS.md"
  48. ],
  49. "prettier": {
  50. "printWidth": 120,
  51. "singleQuote": true,
  52. "endOfLine": "lf",
  53. "trailingComma": "all",
  54. "semi": false
  55. },
  56. "lint-staged": {
  57. "*.json": [
  58. "prettier --write"
  59. ],
  60. "*.{js,cjs,mjs,ts}": [
  61. "eslint --fix",
  62. "prettier --write"
  63. ],
  64. "*.md": [
  65. "prettier --write"
  66. ]
  67. },
  68. "repository": {
  69. "type": "git",
  70. "url": "git+https://github.com/minio/minio-js.git"
  71. },
  72. "author": {
  73. "name": "MinIO, Inc.",
  74. "url": "https://min.io"
  75. },
  76. "engines": {
  77. "node": "^16 || ^18 || >=20"
  78. },
  79. "license": "Apache-2.0",
  80. "bugs": {
  81. "url": "https://github.com/minio/minio-js/issues",
  82. "mail": ""
  83. },
  84. "homepage": "https://github.com/minio/minio-js#readme",
  85. "dependencies": {
  86. "async": "^3.2.4",
  87. "block-stream2": "^2.1.0",
  88. "browser-or-node": "^2.1.1",
  89. "buffer-crc32": "^1.0.0",
  90. "eventemitter3": "^5.0.1",
  91. "fast-xml-parser": "^5.3.4",
  92. "ipaddr.js": "^2.0.1",
  93. "lodash": "^4.17.21",
  94. "mime-types": "^2.1.35",
  95. "query-string": "^7.1.3",
  96. "stream-json": "^1.8.0",
  97. "through2": "^4.0.2",
  98. "xml2js": "^0.5.0 || ^0.6.2"
  99. },
  100. "devDependencies": {
  101. "@babel/core": "^7.21.8",
  102. "@babel/plugin-transform-modules-commonjs": "^7.21.5",
  103. "@babel/preset-env": "^7.21.5",
  104. "@babel/preset-typescript": "^7.21.5",
  105. "@babel/register": "^7.21.0",
  106. "@nodelib/fs.walk": "^1.2.8",
  107. "@types/async": "^3.2.20",
  108. "@types/block-stream2": "^2.1.2",
  109. "@types/chai": "^4.3.11",
  110. "@types/chai-as-promised": "^7.1.8",
  111. "@types/lodash": "^4.14.194",
  112. "@types/mime-types": "^2.1.1",
  113. "@types/node": "^20.1.0",
  114. "@types/stream-json": "^1.7.5",
  115. "@types/through2": "^2.0.38",
  116. "@types/xml2js": "^0.4.11",
  117. "@typescript-eslint/eslint-plugin": "^5.59.2",
  118. "@typescript-eslint/parser": "^5.59.2",
  119. "@upleveled/babel-plugin-remove-node-prefix": "^1.0.5",
  120. "babel-plugin-replace-import-extension": "^1.1.3",
  121. "babel-plugin-transform-replace-expressions": "^0.2.0",
  122. "chai": "^4.3.7",
  123. "chai-as-promised": "^7.1.1",
  124. "dotenv": "^16.0.3",
  125. "eslint": "^8.40.0",
  126. "eslint-config-prettier": "^8.8.0",
  127. "eslint-import-resolver-typescript": "^3.5.5",
  128. "eslint-plugin-import": "^2.27.5",
  129. "eslint-plugin-simple-import-sort": "^10.0.0",
  130. "eslint-plugin-unicorn": "^47.0.0",
  131. "eslint-plugin-unused-imports": "^2.0.0",
  132. "husky": "^8.0.3",
  133. "lint-staged": "^13.2.2",
  134. "mocha": "^10.2.0",
  135. "mocha-steps": "^1.3.0",
  136. "nock": "^13.3.1",
  137. "prettier": "^2.8.8",
  138. "source-map-support": "^0.5.21",
  139. "split-file": "^2.3.0",
  140. "superagent": "^8.0.1",
  141. "typescript": "^5.0.4",
  142. "uuid": "^9.0.0"
  143. },
  144. "keywords": [
  145. "api",
  146. "amazon",
  147. "minio",
  148. "cloud",
  149. "s3",
  150. "storage"
  151. ]
  152. }