package.json 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. {
  2. "name": "which-typed-array",
  3. "version": "1.1.9",
  4. "author": {
  5. "name": "Jordan Harband",
  6. "email": "ljharb@gmail.com",
  7. "url": "http://ljharb.codes"
  8. },
  9. "funding": {
  10. "url": "https://github.com/sponsors/ljharb"
  11. },
  12. "contributors": [
  13. {
  14. "name": "Jordan Harband",
  15. "email": "ljharb@gmail.com",
  16. "url": "http://ljharb.codes"
  17. }
  18. ],
  19. "description": "Which kind of Typed Array is this JavaScript value? Works cross-realm, without `instanceof`, and despite Symbol.toStringTag.",
  20. "license": "MIT",
  21. "main": "index.js",
  22. "sideEffects": false,
  23. "scripts": {
  24. "prepack": "npmignore --auto --commentLines=autogenerated",
  25. "prepublishOnly": "safe-publish-latest",
  26. "prepublish": "not-in-publish || npm run prepublishOnly",
  27. "pretest": "npm run --silent lint",
  28. "test": "npm run tests-only && npm run test:harmony",
  29. "tests-only": "nyc tape test",
  30. "test:harmony": "nyc node --harmony --es-staging test",
  31. "posttest": "aud --production",
  32. "lint": "eslint --ext=js,mjs .",
  33. "version": "auto-changelog && git add CHANGELOG.md",
  34. "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
  35. },
  36. "repository": {
  37. "type": "git",
  38. "url": "git://github.com/inspect-js/which-typed-array.git"
  39. },
  40. "keywords": [
  41. "array",
  42. "TypedArray",
  43. "typed array",
  44. "which",
  45. "typed",
  46. "Int8Array",
  47. "Uint8Array",
  48. "Uint8ClampedArray",
  49. "Int16Array",
  50. "Uint16Array",
  51. "Int32Array",
  52. "Uint32Array",
  53. "Float32Array",
  54. "Float64Array",
  55. "ES6",
  56. "toStringTag",
  57. "Symbol.toStringTag",
  58. "@@toStringTag"
  59. ],
  60. "dependencies": {
  61. "available-typed-arrays": "^1.0.5",
  62. "call-bind": "^1.0.2",
  63. "for-each": "^0.3.3",
  64. "gopd": "^1.0.1",
  65. "has-tostringtag": "^1.0.0",
  66. "is-typed-array": "^1.1.10"
  67. },
  68. "devDependencies": {
  69. "@ljharb/eslint-config": "^21.0.0",
  70. "aud": "^2.0.1",
  71. "auto-changelog": "^2.4.0",
  72. "eslint": "=8.8.0",
  73. "in-publish": "^2.0.1",
  74. "is-callable": "^1.2.7",
  75. "make-arrow-function": "^1.2.0",
  76. "make-generator-function": "^2.0.0",
  77. "npmignore": "^0.3.0",
  78. "nyc": "^10.3.2",
  79. "safe-publish-latest": "^2.0.0",
  80. "tape": "^5.6.1"
  81. },
  82. "testling": {
  83. "files": "test/index.js",
  84. "browsers": [
  85. "iexplore/6.0..latest",
  86. "firefox/3.0..6.0",
  87. "firefox/15.0..latest",
  88. "firefox/nightly",
  89. "chrome/4.0..10.0",
  90. "chrome/20.0..latest",
  91. "chrome/canary",
  92. "opera/10.0..latest",
  93. "opera/next",
  94. "safari/4.0..latest",
  95. "ipad/6.0..latest",
  96. "iphone/6.0..latest",
  97. "android-browser/4.2"
  98. ]
  99. },
  100. "engines": {
  101. "node": ">= 0.4"
  102. },
  103. "auto-changelog": {
  104. "output": "CHANGELOG.md",
  105. "template": "keepachangelog",
  106. "unreleased": false,
  107. "commitLimit": false,
  108. "backfillLimit": false,
  109. "hideCredit": true
  110. },
  111. "publishConfig": {
  112. "ignore": [
  113. ".github/workflows"
  114. ]
  115. }
  116. }