package.json 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. {
  2. "name": "mongodb",
  3. "version": "4.7.0",
  4. "description": "The official MongoDB driver for Node.js",
  5. "main": "lib/index.js",
  6. "files": [
  7. "lib",
  8. "src",
  9. "etc/prepare.js",
  10. "mongodb.d.ts",
  11. "tsconfig.json"
  12. ],
  13. "types": "mongodb.d.ts",
  14. "repository": {
  15. "type": "git",
  16. "url": "git@github.com:mongodb/node-mongodb-native.git"
  17. },
  18. "keywords": [
  19. "mongodb",
  20. "driver",
  21. "official"
  22. ],
  23. "author": {
  24. "name": "The MongoDB NodeJS Team",
  25. "email": "dbx-node@mongodb.com"
  26. },
  27. "dependencies": {
  28. "bson": "^4.6.3",
  29. "denque": "^2.0.1",
  30. "mongodb-connection-string-url": "^2.5.2",
  31. "socks": "^2.6.2"
  32. },
  33. "devDependencies": {
  34. "@iarna/toml": "^2.2.5",
  35. "@istanbuljs/nyc-config-typescript": "^1.0.2",
  36. "@microsoft/api-extractor": "^7.24.1",
  37. "@microsoft/tsdoc-config": "^0.16.1",
  38. "@mongodb-js/zstd": "^1.0.0",
  39. "@types/chai": "^4.3.0",
  40. "@types/chai-subset": "^1.3.3",
  41. "@types/express": "^4.17.13",
  42. "@types/kerberos": "^1.1.1",
  43. "@types/mocha": "^9.1.0",
  44. "@types/node": "^17.0.23",
  45. "@types/saslprep": "^1.0.1",
  46. "@types/semver": "^7.3.9",
  47. "@types/sinon": "^10.0.11",
  48. "@types/sinon-chai": "^3.2.8",
  49. "@types/whatwg-url": "^8.2.1",
  50. "@typescript-eslint/eslint-plugin": "^5.26.0",
  51. "@typescript-eslint/parser": "^5.26.0",
  52. "bluebird": "^3.7.2",
  53. "chai": "^4.3.6",
  54. "chai-subset": "^1.6.0",
  55. "chalk": "^4.1.2",
  56. "eslint": "^8.12.0",
  57. "eslint-config-prettier": "^8.5.0",
  58. "eslint-plugin-import": "^2.25.4",
  59. "eslint-plugin-prettier": "^4.0.0",
  60. "eslint-plugin-simple-import-sort": "^7.0.0",
  61. "eslint-plugin-tsdoc": "^0.2.16",
  62. "express": "^4.17.3",
  63. "js-yaml": "^4.1.0",
  64. "mocha": "^9.2.2",
  65. "mocha-sinon": "^2.1.2",
  66. "nyc": "^15.1.0",
  67. "prettier": "^2.6.1",
  68. "rimraf": "^3.0.2",
  69. "semver": "^7.3.5",
  70. "sinon": "^13.0.1",
  71. "sinon-chai": "^3.7.0",
  72. "source-map-support": "^0.5.21",
  73. "standard-version": "^9.3.2",
  74. "ts-node": "^10.8.0",
  75. "tsd": "^0.20.0",
  76. "typescript": "^4.7.2",
  77. "typescript-cached-transpile": "^0.0.6",
  78. "xml2js": "^0.4.23",
  79. "yargs": "^17.4.0"
  80. },
  81. "license": "Apache-2.0",
  82. "engines": {
  83. "node": ">=12.9.0"
  84. },
  85. "bugs": {
  86. "url": "https://jira.mongodb.org/projects/NODE/issues/"
  87. },
  88. "homepage": "https://github.com/mongodb/node-mongodb-native",
  89. "optionalDependencies": {
  90. "saslprep": "^1.0.3"
  91. },
  92. "scripts": {
  93. "build:evergreen": "node .evergreen/generate_evergreen_tasks.js",
  94. "build:ts": "node ./node_modules/typescript/bin/tsc",
  95. "build:dts": "npm run build:ts && api-extractor run && rimraf 'lib/**/*.d.ts*'",
  96. "build:docs": "./etc/docs/build.ts",
  97. "build:typedoc": "typedoc",
  98. "check:bench": "node test/benchmarks/driverBench",
  99. "check:coverage": "nyc npm run test:all",
  100. "check:integration-coverage": "nyc npm run check:test",
  101. "check:lint": "npm run build:dts && npm run check:dts && npm run check:eslint && npm run check:tsd",
  102. "check:eslint": "eslint -v && eslint --max-warnings=0 --ext '.js,.ts' src test",
  103. "check:tsd": "tsd --version && tsd",
  104. "check:dts": "node ./node_modules/typescript/bin/tsc --noEmit mongodb.d.ts && tsd",
  105. "check:test": "mocha --config test/mocha_mongodb.json test/integration",
  106. "check:unit": "mocha test/unit",
  107. "check:ts": "node ./node_modules/typescript/bin/tsc -v && node ./node_modules/typescript/bin/tsc --noEmit",
  108. "check:atlas": "mocha --config test/manual/mocharc.json test/manual/atlas_connectivity.test.js",
  109. "check:adl": "mocha --config test/mocha_mongodb.json test/manual/atlas-data-lake-testing",
  110. "check:aws": "mocha --config test/mocha_mongodb.json test/integration/auth/mongodb_aws.test.js",
  111. "check:ocsp": "mocha --config test/manual/mocharc.json test/manual/ocsp_support.test.js",
  112. "check:kerberos": "mocha --config test/manual/mocharc.json test/manual/kerberos.test.js",
  113. "check:tls": "mocha --config test/manual/mocharc.json test/manual/tls_support.test.js",
  114. "check:ldap": "mocha --config test/manual/mocharc.json test/manual/ldap.test.js",
  115. "check:socks5": "mocha --config test/manual/mocharc.json test/manual/socks5.test.ts",
  116. "check:csfle": "mocha --config test/mocha_mongodb.json test/integration/client-side-encryption",
  117. "check:snappy": "mocha test/unit/assorted/snappy.test.js",
  118. "fix:eslint": "npm run check:eslint -- --fix",
  119. "prepare": "node etc/prepare.js",
  120. "preview:docs": "ts-node etc/docs/preview.ts",
  121. "release": "standard-version -a -i HISTORY.md",
  122. "test": "npm run check:lint && npm run test:all",
  123. "test:all": "npm run check:unit && npm run check:test",
  124. "update:docs": "npm run build:docs -- --yes"
  125. },
  126. "tsd": {
  127. "directory": "test/types",
  128. "compilerOptions": {
  129. "strict": true,
  130. "target": "esnext",
  131. "module": "commonjs",
  132. "moduleResolution": "node"
  133. }
  134. }
  135. }