package.json 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. {
  2. "name": "data-view-byte-length",
  3. "version": "1.0.1",
  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": "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-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/ljharb/data-view-byte-length/issues"
  48. },
  49. "homepage": "https://github.com/ljharb/data-view-byte-length#readme",
  50. "dependencies": {
  51. "call-bind": "^1.0.7",
  52. "es-errors": "^1.3.0",
  53. "is-data-view": "^1.0.1"
  54. },
  55. "devDependencies": {
  56. "@arethetypeswrong/cli": "^0.15.1",
  57. "@ljharb/eslint-config": "^21.1.0",
  58. "@ljharb/tsconfig": "^0.1.1",
  59. "@types/call-bind": "^1.0.5",
  60. "@types/es-value-fixtures": "^1.4.4",
  61. "@types/for-each": "^0.3.3",
  62. "@types/object-inspect": "^1.8.4",
  63. "@types/tape": "^5.6.4",
  64. "aud": "^2.0.4",
  65. "auto-changelog": "^2.4.0",
  66. "es-value-fixtures": "^1.4.2",
  67. "eslint": "=8.8.0",
  68. "evalmd": "^0.0.19",
  69. "for-each": "^0.3.3",
  70. "in-publish": "^2.0.1",
  71. "npmignore": "^0.3.1",
  72. "nyc": "^10.3.2",
  73. "object-inspect": "^1.13.1",
  74. "safe-publish-latest": "^2.0.0",
  75. "tape": "^5.7.5",
  76. "typescript": "next"
  77. },
  78. "engines": {
  79. "node": ">= 0.4"
  80. },
  81. "auto-changelog": {
  82. "output": "CHANGELOG.md",
  83. "template": "keepachangelog",
  84. "unreleased": false,
  85. "commitLimit": false,
  86. "backfillLimit": false,
  87. "hideCredit": true
  88. },
  89. "publishConfig": {
  90. "ignore": [
  91. ".github/workflows"
  92. ]
  93. }
  94. }