43f5a19404c981e60140d3e89d4f800f90737b597a5cf97dd1efe6c0d4452742ca20ef867e0902f551951d0faf97a8a2759e56de6eb6da5bee8204ef3bd470 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. {
  2. "name": "to-buffer",
  3. "version": "1.2.1",
  4. "description": "Pass in a string, array, Buffer, Data View, or Uint8Array, and get a Buffer back.",
  5. "main": "index.js",
  6. "sideEffects": false,
  7. "scripts": {
  8. "prepack": "npmignore --auto --commentLines=autogenerated",
  9. "lint": "eslint --ext=js,mjs .",
  10. "pretest": "npm run lint",
  11. "tests-only": "nyc tape 'test/**/*'",
  12. "test": "npm run tests-only",
  13. "posttest": "npx npm@\">= 10.2\" audit --production",
  14. "version": "auto-changelog && git add CHANGELOG.md",
  15. "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
  16. },
  17. "repository": {
  18. "type": "git",
  19. "url": "https://github.com/browserify/to-buffer.git"
  20. },
  21. "author": "Mathias Buus (@mafintosh)",
  22. "license": "MIT",
  23. "bugs": {
  24. "url": "https://github.com/browserify/to-buffer/issues"
  25. },
  26. "homepage": "https://github.com/browserify/to-buffer",
  27. "dependencies": {
  28. "isarray": "^2.0.5",
  29. "safe-buffer": "^5.2.1",
  30. "typed-array-buffer": "^1.0.3"
  31. },
  32. "devDependencies": {
  33. "@ljharb/eslint-config": "^21.1.1",
  34. "auto-changelog": "^2.5.0",
  35. "available-typed-arrays": "^1.0.7",
  36. "encoding": "^0.1.13",
  37. "eslint": "=8.8.0",
  38. "for-each": "^0.3.5",
  39. "npmignore": "^0.3.1",
  40. "nyc": "^10.3.2",
  41. "tape": "^5.9.0"
  42. },
  43. "engines": {
  44. "node": ">= 0.4"
  45. },
  46. "publishConfig": {
  47. "ignore": [
  48. ".github/workflows",
  49. "test"
  50. ]
  51. },
  52. "auto-changelog": {
  53. "output": "CHANGELOG.md",
  54. "template": "keepachangelog",
  55. "unreleased": false,
  56. "commitLimit": false,
  57. "backfillLimit": false,
  58. "hideCredit": true
  59. }
  60. }