package.json 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. {
  2. "name": "blueimp-md5",
  3. "version": "2.19.0",
  4. "title": "JavaScript MD5",
  5. "description": "JavaScript MD5 implementation. Compatible with server-side environments like Node.js, module loaders like RequireJS, Browserify or webpack and all web browsers.",
  6. "keywords": [
  7. "javascript",
  8. "md5"
  9. ],
  10. "homepage": "https://github.com/blueimp/JavaScript-MD5",
  11. "author": {
  12. "name": "Sebastian Tschan",
  13. "url": "https://blueimp.net"
  14. },
  15. "contributors": [
  16. {
  17. "name": "Paul Johnston",
  18. "url": "http://pajhome.org.uk/crypt/md5"
  19. }
  20. ],
  21. "repository": {
  22. "type": "git",
  23. "url": "git://github.com/blueimp/JavaScript-MD5.git"
  24. },
  25. "license": "MIT",
  26. "devDependencies": {
  27. "chai": "4",
  28. "eslint": "7",
  29. "eslint-config-blueimp": "2",
  30. "eslint-config-prettier": "8",
  31. "eslint-plugin-jsdoc": "36",
  32. "eslint-plugin-prettier": "4",
  33. "mocha": "9",
  34. "prettier": "2",
  35. "uglify-js": "3"
  36. },
  37. "eslintConfig": {
  38. "extends": [
  39. "blueimp",
  40. "plugin:jsdoc/recommended",
  41. "plugin:prettier/recommended"
  42. ],
  43. "env": {
  44. "browser": true,
  45. "node": true
  46. }
  47. },
  48. "eslintIgnore": [
  49. "js/*.min.js",
  50. "test/vendor"
  51. ],
  52. "prettier": {
  53. "arrowParens": "avoid",
  54. "proseWrap": "always",
  55. "semi": false,
  56. "singleQuote": true,
  57. "trailingComma": "none"
  58. },
  59. "scripts": {
  60. "lint": "eslint .",
  61. "unit": "mocha",
  62. "test": "npm run lint && npm run unit",
  63. "prebuild": "bin/sync-vendor-libs.sh",
  64. "build": "cd js && uglifyjs md5.js -c -m -o md5.min.js --source-map url=md5.min.js.map",
  65. "preversion": "npm test",
  66. "version": "npm run build && git add -A js",
  67. "postversion": "git push --tags origin master master:gh-pages && npm publish"
  68. },
  69. "files": [
  70. "js/*.js",
  71. "js/*.js.map"
  72. ],
  73. "main": "js/md5.js"
  74. }