package.json 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. {
  2. "name": "data-view-buffer",
  3. "version": "1.0.1",
  4. "description": "Get the ArrayBuffer out of a DataView, robustly.",
  5. "main": "index.js",
  6. "exports": {
  7. ".": "./index.js",
  8. "./package.json": "./package.json"
  9. },
  10. "types": "./index.d.ts",
  11. "sideEffects": false,
  12. "scripts": {
  13. "prepack": "npmignore --auto --commentLines=autogenerated",
  14. "prepublishOnly": "safe-publish-latest",
  15. "prepublish": "not-in-publish || npm run prepublishOnly",
  16. "prelint": "evalmd README.md",
  17. "lint": "eslint --ext=js,mjs .",
  18. "postlint": "tsc -p .",
  19. "pretest": "npm run lint",
  20. "tests-only": "nyc tape 'test/**/*.js'",
  21. "test": "npm run tests-only",
  22. "posttest": "aud --production",
  23. "version": "auto-changelog && git add CHANGELOG.md",
  24. "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
  25. },
  26. "funding": {
  27. "url": "https://github.com/sponsors/ljharb"
  28. },
  29. "repository": {
  30. "type": "git",
  31. "url": "git+https://github.com/ljharb/data-view-buffer.git"
  32. },
  33. "keywords": [
  34. "javascript",
  35. "ecmascript",
  36. "dataview",
  37. "buffer",
  38. "robust"
  39. ],
  40. "author": "Jordan Harband <ljharb@gmail.com>",
  41. "license": "MIT",
  42. "bugs": {
  43. "url": "https://github.com/ljharb/data-view-buffer/issues"
  44. },
  45. "homepage": "https://github.com/ljharb/data-view-buffer#readme",
  46. "dependencies": {
  47. "call-bind": "^1.0.6",
  48. "es-errors": "^1.3.0",
  49. "is-data-view": "^1.0.1"
  50. },
  51. "devDependencies": {
  52. "@ljharb/eslint-config": "^21.1.0",
  53. "@types/call-bind": "^1.0.5",
  54. "@types/es-value-fixtures": "^1.4.4",
  55. "@types/for-each": "^0.3.3",
  56. "@types/object-inspect": "^1.8.4",
  57. "@types/tape": "^5.6.4",
  58. "aud": "^2.0.4",
  59. "auto-changelog": "^2.4.0",
  60. "es-value-fixtures": "^1.4.2",
  61. "eslint": "=8.8.0",
  62. "evalmd": "^0.0.19",
  63. "for-each": "^0.3.3",
  64. "in-publish": "^2.0.1",
  65. "npmignore": "^0.3.1",
  66. "nyc": "^10.3.2",
  67. "object-inspect": "^1.13.1",
  68. "safe-publish-latest": "^2.0.0",
  69. "tape": "^5.7.4",
  70. "typescript": "next"
  71. },
  72. "engines": {
  73. "node": ">= 0.4"
  74. },
  75. "auto-changelog": {
  76. "output": "CHANGELOG.md",
  77. "template": "keepachangelog",
  78. "unreleased": false,
  79. "commitLimit": false,
  80. "backfillLimit": false,
  81. "hideCredit": true
  82. },
  83. "publishConfig": {
  84. "ignore": [
  85. ".github/workflows"
  86. ]
  87. }
  88. }