package.json 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. {
  2. "name": "mongodb-connection-string-url",
  3. "version": "2.5.2",
  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. "exports": {
  20. "require": "./lib/index.js",
  21. "import": "./.esm-wrapper.mjs"
  22. },
  23. "files": [
  24. "LICENSE",
  25. "lib",
  26. "package.json",
  27. "README.md",
  28. ".esm-wrapper.mjs"
  29. ],
  30. "scripts": {
  31. "lint": "eslint \"{src,test}/**/*.ts\"",
  32. "test": "npm run lint && npm run build && nyc mocha --colors -r ts-node/register test/*.ts",
  33. "build": "npm run compile-ts && gen-esm-wrapper . ./.esm-wrapper.mjs",
  34. "prepack": "npm run build",
  35. "compile-ts": "tsc -p tsconfig.json"
  36. },
  37. "license": "Apache-2.0",
  38. "devDependencies": {
  39. "@types/chai": "^4.2.5",
  40. "@types/mocha": "^8.0.3",
  41. "@types/node": "^14.11.1",
  42. "@typescript-eslint/eslint-plugin": "^4.2.0",
  43. "@typescript-eslint/parser": "^4.2.0",
  44. "chai": "^4.2.0",
  45. "eslint": "^7.9.0",
  46. "eslint-config-semistandard": "^15.0.1",
  47. "eslint-config-standard": "^14.1.1",
  48. "eslint-plugin-import": "^2.22.0",
  49. "eslint-plugin-node": "^11.1.0",
  50. "eslint-plugin-promise": "^4.2.1",
  51. "eslint-plugin-standard": "^4.0.1",
  52. "gen-esm-wrapper": "^1.1.3",
  53. "mocha": "^8.1.3",
  54. "nyc": "^15.1.0",
  55. "ts-node": "^9.0.0",
  56. "typescript": "^4.0.3"
  57. },
  58. "dependencies": {
  59. "@types/whatwg-url": "^8.2.1",
  60. "whatwg-url": "^11.0.0"
  61. }
  62. }