package.json 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. {
  2. "name": "@mongodb-js/saslprep",
  3. "description": "SASLprep: Stringprep Profile for User Names and Passwords, rfc4013",
  4. "keywords": [
  5. "sasl",
  6. "saslprep",
  7. "stringprep",
  8. "rfc4013",
  9. "4013"
  10. ],
  11. "author": "Dmitry Tsvettsikh <me@reklatsmasters.com>",
  12. "publishConfig": {
  13. "access": "public"
  14. },
  15. "main": "dist/node.js",
  16. "bugs": {
  17. "url": "https://jira.mongodb.org/projects/COMPASS/issues",
  18. "email": "compass@mongodb.com"
  19. },
  20. "homepage": "https://github.com/mongodb-js/devtools-shared/tree/main/packages/saslprep",
  21. "version": "1.1.9",
  22. "repository": {
  23. "type": "git",
  24. "url": "https://github.com/mongodb-js/devtools-shared.git"
  25. },
  26. "files": [
  27. "dist"
  28. ],
  29. "license": "MIT",
  30. "exports": {
  31. "browser": {
  32. "types": "./dist/browser.d.ts",
  33. "default": "./dist/browser.js"
  34. },
  35. "import": {
  36. "types": "./dist/node.d.ts",
  37. "default": "./dist/.esm-wrapper.mjs"
  38. },
  39. "require": {
  40. "types": "./dist/node.d.ts",
  41. "default": "./dist/node.js"
  42. }
  43. },
  44. "types": "./dist/node.d.ts",
  45. "scripts": {
  46. "gen-code-points": "ts-node src/generate-code-points.ts src/code-points-data.ts src/code-points-data-browser.ts",
  47. "bootstrap": "npm run compile",
  48. "prepublishOnly": "npm run compile",
  49. "compile": "npm run gen-code-points && tsc -p tsconfig.json && gen-esm-wrapper . ./dist/.esm-wrapper.mjs",
  50. "typecheck": "tsc --noEmit",
  51. "eslint": "eslint",
  52. "prettier": "prettier",
  53. "lint": "npm run eslint . && npm run prettier -- --check .",
  54. "depcheck": "depcheck",
  55. "check": "npm run typecheck && npm run lint && npm run depcheck",
  56. "check-ci": "npm run check",
  57. "test": "mocha",
  58. "test-cov": "nyc -x \"**/*.spec.*\" --reporter=lcov --reporter=text --reporter=html npm run test",
  59. "test-watch": "npm run test -- --watch",
  60. "test-ci": "npm run test-cov",
  61. "reformat": "npm run prettier -- --write ."
  62. },
  63. "dependencies": {
  64. "sparse-bitfield": "^3.0.3"
  65. },
  66. "devDependencies": {
  67. "@mongodb-js/eslint-config-devtools": "0.9.10",
  68. "@mongodb-js/mocha-config-devtools": "^1.0.4",
  69. "@mongodb-js/prettier-config-devtools": "^1.0.1",
  70. "@mongodb-js/tsconfig-devtools": "^1.0.2",
  71. "@types/chai": "^4.2.21",
  72. "@types/mocha": "^9.0.0",
  73. "@types/node": "^17.0.35",
  74. "@types/sinon-chai": "^3.2.5",
  75. "@types/sparse-bitfield": "^3.0.1",
  76. "chai": "^4.3.6",
  77. "depcheck": "^1.4.1",
  78. "eslint": "^7.25.0",
  79. "gen-esm-wrapper": "^1.1.0",
  80. "mocha": "^8.4.0",
  81. "nyc": "^15.1.0",
  82. "prettier": "^2.3.2",
  83. "sinon": "^9.2.3",
  84. "typescript": "^5.0.4"
  85. },
  86. "gitHead": "ff75d1b32c794ae9f3e48a7b4eb741df7df23e24"
  87. }