package.json 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. {
  2. "name": "ssri",
  3. "version": "12.0.0",
  4. "description": "Standard Subresource Integrity library -- parses, serializes, generates, and verifies integrity metadata according to the SRI spec.",
  5. "main": "lib/index.js",
  6. "files": [
  7. "bin/",
  8. "lib/"
  9. ],
  10. "scripts": {
  11. "prerelease": "npm t",
  12. "postrelease": "npm publish",
  13. "posttest": "npm run lint",
  14. "test": "tap",
  15. "coverage": "tap",
  16. "lint": "npm run eslint",
  17. "postlint": "template-oss-check",
  18. "template-oss-apply": "template-oss-apply --force",
  19. "lintfix": "npm run eslint -- --fix",
  20. "snap": "tap",
  21. "eslint": "eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\""
  22. },
  23. "tap": {
  24. "check-coverage": true,
  25. "nyc-arg": [
  26. "--exclude",
  27. "tap-snapshots/**"
  28. ]
  29. },
  30. "repository": {
  31. "type": "git",
  32. "url": "git+https://github.com/npm/ssri.git"
  33. },
  34. "keywords": [
  35. "w3c",
  36. "web",
  37. "security",
  38. "integrity",
  39. "checksum",
  40. "hashing",
  41. "subresource integrity",
  42. "sri",
  43. "sri hash",
  44. "sri string",
  45. "sri generator",
  46. "html"
  47. ],
  48. "author": "GitHub Inc.",
  49. "license": "ISC",
  50. "dependencies": {
  51. "minipass": "^7.0.3"
  52. },
  53. "devDependencies": {
  54. "@npmcli/eslint-config": "^5.0.0",
  55. "@npmcli/template-oss": "4.23.3",
  56. "tap": "^16.0.1"
  57. },
  58. "engines": {
  59. "node": "^18.17.0 || >=20.5.0"
  60. },
  61. "templateOSS": {
  62. "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
  63. "version": "4.23.3",
  64. "publish": "true"
  65. }
  66. }