package.json 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. {
  2. "name": "which-typed-array",
  3. "version": "1.1.14",
  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. "types": "./index.d.ts",
  23. "sideEffects": false,
  24. "scripts": {
  25. "prepack": "npmignore --auto --commentLines=autogenerated",
  26. "prepublishOnly": "safe-publish-latest",
  27. "prepublish": "not-in-publish || npm run prepublishOnly",
  28. "pretest": "npm run --silent lint",
  29. "test": "npm run tests-only && npm run test:harmony",
  30. "tests-only": "nyc tape test",
  31. "test:harmony": "nyc node --harmony --es-staging test",
  32. "posttest": "aud --production",
  33. "lint": "eslint --ext=js,mjs .",
  34. "postlint": "tsc -p .",
  35. "version": "auto-changelog && git add CHANGELOG.md",
  36. "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
  37. },
  38. "repository": {
  39. "type": "git",
  40. "url": "git://github.com/inspect-js/which-typed-array.git"
  41. },
  42. "keywords": [
  43. "array",
  44. "TypedArray",
  45. "typed array",
  46. "which",
  47. "typed",
  48. "Int8Array",
  49. "Uint8Array",
  50. "Uint8ClampedArray",
  51. "Int16Array",
  52. "Uint16Array",
  53. "Int32Array",
  54. "Uint32Array",
  55. "Float32Array",
  56. "Float64Array",
  57. "ES6",
  58. "toStringTag",
  59. "Symbol.toStringTag",
  60. "@@toStringTag"
  61. ],
  62. "dependencies": {
  63. "available-typed-arrays": "^1.0.6",
  64. "call-bind": "^1.0.5",
  65. "for-each": "^0.3.3",
  66. "gopd": "^1.0.1",
  67. "has-tostringtag": "^1.0.1"
  68. },
  69. "devDependencies": {
  70. "@ljharb/eslint-config": "^21.1.0",
  71. "@types/call-bind": "^1.0.5",
  72. "@types/for-each": "^0.3.3",
  73. "@types/gopd": "^1.0.3",
  74. "@types/is-callable": "^1.1.2",
  75. "@types/make-arrow-function": "^1.2.2",
  76. "@types/make-generator-function": "^2.0.3",
  77. "@types/node": "^20.11.14",
  78. "@types/tape": "^5.6.4",
  79. "aud": "^2.0.4",
  80. "auto-changelog": "^2.4.0",
  81. "eslint": "=8.8.0",
  82. "in-publish": "^2.0.1",
  83. "is-callable": "^1.2.7",
  84. "make-arrow-function": "^1.2.0",
  85. "make-generator-function": "^2.0.0",
  86. "npmignore": "^0.3.1",
  87. "nyc": "^10.3.2",
  88. "safe-publish-latest": "^2.0.0",
  89. "tape": "^5.7.4",
  90. "typescript": "^5.4.0-dev.20240131"
  91. },
  92. "testling": {
  93. "files": "test/index.js",
  94. "browsers": [
  95. "iexplore/6.0..latest",
  96. "firefox/3.0..6.0",
  97. "firefox/15.0..latest",
  98. "firefox/nightly",
  99. "chrome/4.0..10.0",
  100. "chrome/20.0..latest",
  101. "chrome/canary",
  102. "opera/10.0..latest",
  103. "opera/next",
  104. "safari/4.0..latest",
  105. "ipad/6.0..latest",
  106. "iphone/6.0..latest",
  107. "android-browser/4.2"
  108. ]
  109. },
  110. "engines": {
  111. "node": ">= 0.4"
  112. },
  113. "auto-changelog": {
  114. "output": "CHANGELOG.md",
  115. "template": "keepachangelog",
  116. "unreleased": false,
  117. "commitLimit": false,
  118. "backfillLimit": false,
  119. "hideCredit": true
  120. },
  121. "publishConfig": {
  122. "ignore": [
  123. ".github/workflows"
  124. ]
  125. }
  126. }