package.json 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. {
  2. "name": "data-view-byte-offset",
  3. "version": "1.0.0",
  4. "description": "Get the byteOffset 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-offset.git"
  32. },
  33. "keywords": [
  34. "javascript",
  35. "ecmascript",
  36. "dataView",
  37. "data",
  38. "view",
  39. "byte",
  40. "offset",
  41. "byteOffset",
  42. "robust"
  43. ],
  44. "author": "Jordan Harband <ljharb@gmail.com>",
  45. "license": "MIT",
  46. "bugs": {
  47. "url": "https://github.com/ljharb/data-view-byte-offset/issues"
  48. },
  49. "homepage": "https://github.com/ljharb/data-view-byte-offset#readme",
  50. "dependencies": {
  51. "call-bind": "^1.0.6",
  52. "es-errors": "^1.3.0",
  53. "is-data-view": "^1.0.1"
  54. },
  55. "devDependencies": {
  56. "@arethetypeswrong/cli": "^0.15.0",
  57. "@ljharb/eslint-config": "^21.1.0",
  58. "@types/call-bind": "^1.0.5",
  59. "@types/es-value-fixtures": "^1.4.4",
  60. "@types/for-each": "^0.3.3",
  61. "@types/object-inspect": "^1.8.4",
  62. "@types/tape": "^5.6.4",
  63. "aud": "^2.0.4",
  64. "auto-changelog": "^2.4.0",
  65. "es-value-fixtures": "^1.4.2",
  66. "eslint": "=8.8.0",
  67. "evalmd": "^0.0.19",
  68. "for-each": "^0.3.3",
  69. "in-publish": "^2.0.1",
  70. "npmignore": "^0.3.1",
  71. "nyc": "^10.3.2",
  72. "object-inspect": "^1.13.1",
  73. "safe-publish-latest": "^2.0.0",
  74. "tape": "^5.7.4",
  75. "typescript": "next"
  76. },
  77. "engines": {
  78. "node": ">= 0.4"
  79. },
  80. "auto-changelog": {
  81. "output": "CHANGELOG.md",
  82. "template": "keepachangelog",
  83. "unreleased": false,
  84. "commitLimit": false,
  85. "backfillLimit": false,
  86. "hideCredit": true
  87. },
  88. "publishConfig": {
  89. "ignore": [
  90. ".github/workflows"
  91. ]
  92. }
  93. }