package.json 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. {
  2. "name": "is-data-view",
  3. "version": "1.0.2",
  4. "description": "Is this value a JS DataView? This module works cross-realm/iframe, does not depend on `instanceof` or mutable properties, and despite ES6 Symbol.toStringTag.",
  5. "main": "index.js",
  6. "exports": {
  7. ".": "./index.js",
  8. "./package.json": "./package.json"
  9. },
  10. "types": "./index.d.ts",
  11. "scripts": {
  12. "prepack": "npmignore --auto --commentLines=autogenerated",
  13. "prepublishOnly": "safe-publish-latest",
  14. "prepublish": "not-in-publish || npm run prepublishOnly",
  15. "prelint": "evalmd README.md",
  16. "lint": "eslint --ext=js,mjs .",
  17. "postlint": "tsc -p .",
  18. "pretest": "npm run lint",
  19. "tests-only": "nyc tape 'test/**/*.js'",
  20. "test": "npm run tests-only",
  21. "posttest": "npx npm@'>= 10.2' audit --production",
  22. "version": "auto-changelog && git add CHANGELOG.md",
  23. "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
  24. },
  25. "funding": {
  26. "url": "https://github.com/sponsors/ljharb"
  27. },
  28. "repository": {
  29. "type": "git",
  30. "url": "git+https://github.com/inspect-js/is-data-view.git"
  31. },
  32. "keywords": [
  33. "javascript",
  34. "ecmascript",
  35. "dataview",
  36. "data",
  37. "view",
  38. "typedarray",
  39. "typedarrays"
  40. ],
  41. "author": "Jordan Harband <ljharb@gmail.com>",
  42. "license": "MIT",
  43. "bugs": {
  44. "url": "https://github.com/inspect-js/is-data-view/issues"
  45. },
  46. "homepage": "https://github.com/inspect-js/is-data-view#readme",
  47. "dependencies": {
  48. "call-bound": "^1.0.2",
  49. "get-intrinsic": "^1.2.6",
  50. "is-typed-array": "^1.1.13"
  51. },
  52. "devDependencies": {
  53. "@ljharb/eslint-config": "^21.1.1",
  54. "@ljharb/tsconfig": "^0.2.2",
  55. "@types/call-bind": "^1.0.5",
  56. "@types/es-value-fixtures": "^1.4.4",
  57. "@types/for-each": "^0.3.3",
  58. "@types/make-arrow-function": "^1.2.2",
  59. "@types/make-generator-function": "^2.0.3",
  60. "@types/node": "^20.17.10",
  61. "@types/object-inspect": "^1.13.0",
  62. "@types/tape": "^5.6.5",
  63. "auto-changelog": "^2.5.0",
  64. "available-typed-arrays": "^1.0.7",
  65. "encoding": "^0.1.13",
  66. "es-value-fixtures": "^1.5.0",
  67. "eslint": "=8.8.0",
  68. "evalmd": "^0.0.19",
  69. "for-each": "^0.3.3",
  70. "has-tostringtag": "^1.0.2",
  71. "in-publish": "^2.0.1",
  72. "make-arrow-function": "^1.2.0",
  73. "make-generator-function": "^2.0.0",
  74. "npmignore": "^0.3.1",
  75. "nyc": "^10.3.2",
  76. "object-inspect": "^1.13.3",
  77. "safe-publish-latest": "^2.0.0",
  78. "tape": "^5.9.0",
  79. "typescript": "next"
  80. },
  81. "testling": {
  82. "files": "test/index.js"
  83. },
  84. "engines": {
  85. "node": ">= 0.4"
  86. },
  87. "auto-changelog": {
  88. "output": "CHANGELOG.md",
  89. "template": "keepachangelog",
  90. "unreleased": false,
  91. "commitLimit": false,
  92. "backfillLimit": false,
  93. "hideCredit": true
  94. },
  95. "publishConfig": {
  96. "ignore": [
  97. ".github/workflows"
  98. ]
  99. }
  100. }