package.json 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  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/index.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.0",
  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. "import": {
  32. "types": "./dist/index.d.ts",
  33. "default": "./dist/.esm-wrapper.mjs"
  34. },
  35. "require": {
  36. "types": "./dist/index.d.ts",
  37. "default": "./dist/index.js"
  38. }
  39. },
  40. "types": "./dist/index.d.ts",
  41. "scripts": {
  42. "gen-code-points": "ts-node src/generate-code-points.ts > src/code-points-data.ts",
  43. "bootstrap": "npm run compile",
  44. "prepublishOnly": "npm run compile",
  45. "compile": "npm run gen-code-points && tsc -p tsconfig.json && gen-esm-wrapper . ./dist/.esm-wrapper.mjs",
  46. "typecheck": "tsc --noEmit",
  47. "eslint": "eslint",
  48. "prettier": "prettier",
  49. "lint": "npm run eslint . && npm run prettier -- --check .",
  50. "depcheck": "depcheck",
  51. "check": "npm run typecheck && npm run lint && npm run depcheck",
  52. "check-ci": "npm run check",
  53. "test": "mocha",
  54. "test-cov": "nyc -x \"**/*.spec.*\" --reporter=lcov --reporter=text --reporter=html npm run test",
  55. "test-watch": "npm run test -- --watch",
  56. "test-ci": "npm run test-cov",
  57. "reformat": "npm run prettier -- --write ."
  58. },
  59. "dependencies": {
  60. "sparse-bitfield": "^3.0.3"
  61. },
  62. "devDependencies": {
  63. "@mongodb-js/eslint-config-devtools": "0.9.10",
  64. "@mongodb-js/mocha-config-devtools": "^1.0.1",
  65. "@mongodb-js/prettier-config-devtools": "^1.0.1",
  66. "@mongodb-js/tsconfig-devtools": "^1.0.1",
  67. "@types/chai": "^4.2.21",
  68. "@types/mocha": "^9.0.0",
  69. "@types/node": "^17.0.35",
  70. "@types/sinon-chai": "^3.2.5",
  71. "@types/sparse-bitfield": "^3.0.1",
  72. "chai": "^4.3.6",
  73. "depcheck": "^1.4.1",
  74. "eslint": "^7.25.0",
  75. "gen-esm-wrapper": "^1.1.0",
  76. "mocha": "^8.4.0",
  77. "nyc": "^15.1.0",
  78. "prettier": "^2.3.2",
  79. "sinon": "^9.2.3",
  80. "typescript": "^5.0.4"
  81. },
  82. "gitHead": "2db5dcbccc918c10118354e6f55e83bf389e3bc8"
  83. }