package.json 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. {
  2. "name": "bcryptjs",
  3. "description": "Optimized bcrypt in plain JavaScript with zero dependencies, with TypeScript support. Compatible to 'bcrypt'.",
  4. "version": "3.0.2",
  5. "author": "Daniel Wirtz <dcode@dcode.io>",
  6. "contributors": [
  7. "Shane Girish <shaneGirish@gmail.com> (https://github.com/shaneGirish)",
  8. "Alex Murray <> (https://github.com/alexmurray)",
  9. "Nicolas Pelletier <> (https://github.com/NicolasPelletier)",
  10. "Josh Rogers <> (https://github.com/geekymole)",
  11. "Noah Isaacson <noah@nisaacson.com> (https://github.com/nisaacson)"
  12. ],
  13. "repository": {
  14. "type": "url",
  15. "url": "https://github.com/dcodeIO/bcrypt.js.git"
  16. },
  17. "bugs": {
  18. "url": "https://github.com/dcodeIO/bcrypt.js/issues"
  19. },
  20. "keywords": [
  21. "bcrypt",
  22. "password",
  23. "auth",
  24. "authentication",
  25. "encryption",
  26. "crypt",
  27. "crypto"
  28. ],
  29. "type": "module",
  30. "main": "umd/index.js",
  31. "types": "umd/index.d.ts",
  32. "exports": {
  33. ".": {
  34. "import": {
  35. "types": "./index.d.ts",
  36. "default": "./index.js"
  37. },
  38. "require": {
  39. "types": "./umd/index.d.ts",
  40. "default": "./umd/index.js"
  41. }
  42. }
  43. },
  44. "bin": {
  45. "bcrypt": "bin/bcrypt"
  46. },
  47. "license": "BSD-3-Clause",
  48. "scripts": {
  49. "build": "node scripts/build.js",
  50. "lint": "prettier --check .",
  51. "format": "prettier --write .",
  52. "test": "npm run test:unit && npm run test:typescript",
  53. "test:unit": "node tests",
  54. "test:typescript": "tsc --project tests/typescript/tsconfig.esnext.json && tsc --project tests/typescript/tsconfig.nodenext.json && tsc --project tests/typescript/tsconfig.commonjs.json && tsc --project tests/typescript/tsconfig.global.json"
  55. },
  56. "files": [
  57. "index.js",
  58. "index.d.ts",
  59. "types.d.ts",
  60. "umd/index.js",
  61. "umd/index.d.ts",
  62. "umd/types.d.ts",
  63. "umd/package.json",
  64. "LICENSE",
  65. "README.md"
  66. ],
  67. "browser": {
  68. "crypto": false
  69. },
  70. "devDependencies": {
  71. "bcrypt": "^5.1.1",
  72. "esm2umd": "^0.3.1",
  73. "prettier": "^3.5.0",
  74. "typescript": "^5.7.3"
  75. }
  76. }