package.json 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. {
  2. "name": "data-view-byte-length",
  3. "version": "1.0.2",
  4. "description": "Get the byteLength 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 . && attw -P",
  19. "pretest": "npm run lint",
  20. "tests-only": "nyc tape 'test/**/*.js'",
  21. "test": "npm run tests-only",
  22. "posttest": "npx npm@'>= 10.2' audit --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/inspect-js"
  28. },
  29. "repository": {
  30. "type": "git",
  31. "url": "git+https://github.com/inspect-js/data-view-byte-length.git"
  32. },
  33. "keywords": [
  34. "javascript",
  35. "ecmascript",
  36. "dataview",
  37. "data",
  38. "view",
  39. "byte",
  40. "length",
  41. "byteLength",
  42. "robust"
  43. ],
  44. "author": "Jordan Harband <ljharb@gmail.com>",
  45. "license": "MIT",
  46. "bugs": {
  47. "url": "https://github.com/inspect-js/data-view-byte-length/issues"
  48. },
  49. "homepage": "https://github.com/inspect-js/data-view-byte-length#readme",
  50. "dependencies": {
  51. "call-bound": "^1.0.3",
  52. "es-errors": "^1.3.0",
  53. "is-data-view": "^1.0.2"
  54. },
  55. "devDependencies": {
  56. "@arethetypeswrong/cli": "^0.17.1",
  57. "@ljharb/eslint-config": "^21.1.1",
  58. "@ljharb/tsconfig": "^0.2.2",
  59. "@types/es-value-fixtures": "^1.4.4",
  60. "@types/for-each": "^0.3.3",
  61. "@types/object-inspect": "^1.13.0",
  62. "@types/tape": "^5.8.0",
  63. "auto-changelog": "^2.5.0",
  64. "es-value-fixtures": "^1.5.0",
  65. "eslint": "=8.8.0",
  66. "evalmd": "^0.0.19",
  67. "for-each": "^0.3.3",
  68. "in-publish": "^2.0.1",
  69. "npmignore": "^0.3.1",
  70. "nyc": "^10.3.2",
  71. "object-inspect": "^1.13.3",
  72. "safe-publish-latest": "^2.0.0",
  73. "tape": "^5.9.0",
  74. "typescript": "next"
  75. },
  76. "engines": {
  77. "node": ">= 0.4"
  78. },
  79. "auto-changelog": {
  80. "output": "CHANGELOG.md",
  81. "template": "keepachangelog",
  82. "unreleased": false,
  83. "commitLimit": false,
  84. "backfillLimit": false,
  85. "hideCredit": true
  86. },
  87. "publishConfig": {
  88. "ignore": [
  89. ".github/workflows"
  90. ]
  91. }
  92. }