package.json 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. {
  2. "name": "typed-array-length",
  3. "version": "1.0.6",
  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. "postlint": "tsc -p . && attw -P",
  20. "tests-only": "nyc tape 'test/**/*.js'",
  21. "test:harmony": "nyc node --harmony --es-staging test",
  22. "test": "npm run tests-only && npm run test:harmony",
  23. "posttest": "aud --production",
  24. "version": "auto-changelog && git add CHANGELOG.md",
  25. "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
  26. },
  27. "repository": {
  28. "type": "git",
  29. "url": "git+https://github.com/inspect-js/typed-array-length.git"
  30. },
  31. "keywords": [
  32. "typed",
  33. "array",
  34. "length",
  35. "robust",
  36. "es",
  37. "Int8Array",
  38. "Uint8Array",
  39. "Uint8ClampedArray",
  40. "Int16Array",
  41. "Uint16Array",
  42. "Int32Array",
  43. "Uint32Array",
  44. "Float32Array",
  45. "Float64Array"
  46. ],
  47. "author": "Jordan Harband <ljharb@gmail.com>",
  48. "funding": {
  49. "url": "https://github.com/sponsors/ljharb"
  50. },
  51. "license": "MIT",
  52. "bugs": {
  53. "url": "https://github.com/inspect-js/typed-array-length/issues"
  54. },
  55. "homepage": "https://github.com/inspect-js/typed-array-length#readme",
  56. "devDependencies": {
  57. "@arethetypeswrong/cli": "^0.15.2",
  58. "@ljharb/eslint-config": "^21.1.0",
  59. "@ljharb/tsconfig": "^0.2.0",
  60. "@types/call-bind": "^1.0.5",
  61. "@types/for-each": "^0.3.3",
  62. "@types/gopd": "^1.0.3",
  63. "@types/is-callable": "^1.1.2",
  64. "@types/make-arrow-function": "^1.2.2",
  65. "@types/make-generator-function": "^2.0.3",
  66. "@types/object-inspect": "^1.8.4",
  67. "@types/tape": "^5.6.4",
  68. "aud": "^2.0.4",
  69. "auto-changelog": "^2.4.0",
  70. "eslint": "=8.8.0",
  71. "evalmd": "^0.0.19",
  72. "in-publish": "^2.0.1",
  73. "is-callable": "^1.2.7",
  74. "make-arrow-function": "^1.2.0",
  75. "make-generator-function": "^2.0.0",
  76. "npmignore": "^0.3.1",
  77. "nyc": "^10.3.2",
  78. "object-inspect": "^1.13.1",
  79. "safe-publish-latest": "^2.0.0",
  80. "tape": "^5.7.5",
  81. "typescript": "next"
  82. },
  83. "auto-changelog": {
  84. "output": "CHANGELOG.md",
  85. "template": "keepachangelog",
  86. "unreleased": false,
  87. "commitLimit": false,
  88. "backfillLimit": false,
  89. "hideCredit": true
  90. },
  91. "dependencies": {
  92. "call-bind": "^1.0.7",
  93. "for-each": "^0.3.3",
  94. "gopd": "^1.0.1",
  95. "has-proto": "^1.0.3",
  96. "is-typed-array": "^1.1.13",
  97. "possible-typed-array-names": "^1.0.0"
  98. },
  99. "testling": {
  100. "files": "test/index.js"
  101. },
  102. "publishConfig": {
  103. "ignore": [
  104. ".github/workflows"
  105. ]
  106. },
  107. "engines": {
  108. "node": ">= 0.4"
  109. }
  110. }