package.json 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. {
  2. "name": "typed-array-length",
  3. "version": "1.0.5",
  4. "description": "Robustly get the length of a Typed Array",
  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. "pretest": "npm run lint",
  17. "prelint": "evalmd README.md",
  18. "lint": "eslint --ext=js,mjs .",
  19. "tests-only": "nyc tape 'test/**/*.js'",
  20. "test:harmony": "nyc node --harmony --es-staging test",
  21. "test": "npm run tests-only && npm run test:harmony",
  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. "repository": {
  27. "type": "git",
  28. "url": "git+https://github.com/inspect-js/typed-array-length.git"
  29. },
  30. "keywords": [
  31. "typed",
  32. "array",
  33. "length",
  34. "robust",
  35. "es",
  36. "Int8Array",
  37. "Uint8Array",
  38. "Uint8ClampedArray",
  39. "Int16Array",
  40. "Uint16Array",
  41. "Int32Array",
  42. "Uint32Array",
  43. "Float32Array",
  44. "Float64Array"
  45. ],
  46. "author": "Jordan Harband <ljharb@gmail.com>",
  47. "funding": {
  48. "url": "https://github.com/sponsors/ljharb"
  49. },
  50. "license": "MIT",
  51. "bugs": {
  52. "url": "https://github.com/inspect-js/typed-array-length/issues"
  53. },
  54. "homepage": "https://github.com/inspect-js/typed-array-length#readme",
  55. "devDependencies": {
  56. "@ljharb/eslint-config": "^21.1.0",
  57. "@types/call-bind": "^1.0.5",
  58. "@types/for-each": "^0.3.3",
  59. "@types/gopd": "^1.0.3",
  60. "@types/is-callable": "^1.1.2",
  61. "@types/make-arrow-function": "^1.2.2",
  62. "@types/make-generator-function": "^2.0.3",
  63. "@types/object-inspect": "^1.8.4",
  64. "@types/tape": "^5.6.4",
  65. "aud": "^2.0.4",
  66. "auto-changelog": "^2.4.0",
  67. "eslint": "=8.8.0",
  68. "evalmd": "^0.0.19",
  69. "in-publish": "^2.0.1",
  70. "is-callable": "^1.2.7",
  71. "make-arrow-function": "^1.2.0",
  72. "make-generator-function": "^2.0.0",
  73. "npmignore": "^0.3.1",
  74. "nyc": "^10.3.2",
  75. "object-inspect": "^1.13.1",
  76. "safe-publish-latest": "^2.0.0",
  77. "tape": "^5.7.5",
  78. "typescript": "next"
  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. "dependencies": {
  89. "call-bind": "^1.0.7",
  90. "for-each": "^0.3.3",
  91. "gopd": "^1.0.1",
  92. "has-proto": "^1.0.3",
  93. "is-typed-array": "^1.1.13",
  94. "possible-typed-array-names": "^1.0.0"
  95. },
  96. "testling": {
  97. "files": "test/index.js"
  98. },
  99. "publishConfig": {
  100. "ignore": [
  101. ".github/workflows"
  102. ]
  103. },
  104. "engines": {
  105. "node": ">= 0.4"
  106. }
  107. }