package.json 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. {
  2. "name": "mongodb-connection-string-url",
  3. "version": "7.0.0",
  4. "description": "MongoDB connection strings, based on the WhatWG URL API",
  5. "keywords": [
  6. "password",
  7. "prompt",
  8. "tty"
  9. ],
  10. "homepage": "https://github.com/mongodb-js/mongodb-connection-string-url",
  11. "repository": {
  12. "type": "git",
  13. "url": "https://github.com/mongodb-js/mongodb-connection-string-url.git"
  14. },
  15. "bugs": {
  16. "url": "https://github.com/mongodb-js/mongodb-connection-string-url/issues"
  17. },
  18. "main": "lib/index.js",
  19. "types": "lib/index.d.ts",
  20. "exports": {
  21. "require": {
  22. "default": "./lib/index.js",
  23. "types": "./lib/index.d.ts"
  24. },
  25. "import": {
  26. "default": "./.esm-wrapper.mjs",
  27. "types": "./lib/index.d.ts"
  28. }
  29. },
  30. "files": [
  31. "LICENSE",
  32. "lib",
  33. "package.json",
  34. "README.md",
  35. ".esm-wrapper.mjs"
  36. ],
  37. "scripts": {
  38. "lint": "ESLINT_USE_FLAT_CONFIG=false eslint \"{src,test}/**/*.ts\"",
  39. "test": "npm run build && nyc mocha --colors -r ts-node/register test/*.ts",
  40. "build": "npm run compile-ts && gen-esm-wrapper . ./.esm-wrapper.mjs",
  41. "prepack": "npm run build",
  42. "compile-ts": "tsc -p tsconfig.json"
  43. },
  44. "license": "Apache-2.0",
  45. "devDependencies": {
  46. "@types/chai": "^5.0.1",
  47. "@types/mocha": "^10.0.10",
  48. "@types/node": "^22.9.0",
  49. "@typescript-eslint/eslint-plugin": "^8.39.1",
  50. "@typescript-eslint/parser": "^8.39.1",
  51. "chai": "^4.2.0",
  52. "eslint": "^9.33.0",
  53. "eslint-config-prettier": "^10.1.8",
  54. "eslint-plugin-import": "^2.22.0",
  55. "eslint-plugin-node": "^11.1.0",
  56. "eslint-plugin-prettier": "^5.5.4",
  57. "eslint-plugin-promise": "^7.1.0",
  58. "gen-esm-wrapper": "^1.1.3",
  59. "mocha": "^11.0.1",
  60. "nyc": "^15.1.0",
  61. "ts-node": "^10.9.1",
  62. "typescript": "^5.9.2"
  63. },
  64. "dependencies": {
  65. "@types/whatwg-url": "^13.0.0",
  66. "whatwg-url": "^14.1.0"
  67. },
  68. "engines": {
  69. "node": ">=20.19.0"
  70. }
  71. }