package.json 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. {
  2. "name": "typed-array-length",
  3. "version": "1.0.4",
  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. "scripts": {
  11. "prepack": "npmignore --auto --commentLines=autogenerated",
  12. "prepublishOnly": "safe-publish-latest",
  13. "prepublish": "not-in-publish || npm run prepublishOnly",
  14. "pretest": "npm run lint",
  15. "prelint": "evalmd README.md",
  16. "lint": "eslint --ext=js,mjs .",
  17. "tests-only": "nyc tape 'test/**/*.js'",
  18. "test:harmony": "nyc node --harmony --es-staging test",
  19. "test": "npm run tests-only && npm run test:harmony",
  20. "posttest": "aud --production",
  21. "version": "auto-changelog && git add CHANGELOG.md",
  22. "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
  23. },
  24. "repository": {
  25. "type": "git",
  26. "url": "git+https://github.com/inspect-js/typed-array-length.git"
  27. },
  28. "keywords": [
  29. "typed",
  30. "array",
  31. "length",
  32. "robust",
  33. "es",
  34. "Int8Array",
  35. "Uint8Array",
  36. "Uint8ClampedArray",
  37. "Int16Array",
  38. "Uint16Array",
  39. "Int32Array",
  40. "Uint32Array",
  41. "Float32Array",
  42. "Float64Array"
  43. ],
  44. "author": "Jordan Harband <ljharb@gmail.com>",
  45. "funding": {
  46. "url": "https://github.com/sponsors/ljharb"
  47. },
  48. "license": "MIT",
  49. "bugs": {
  50. "url": "https://github.com/inspect-js/typed-array-length/issues"
  51. },
  52. "homepage": "https://github.com/inspect-js/typed-array-length#readme",
  53. "devDependencies": {
  54. "@ljharb/eslint-config": "^21.0.0",
  55. "aud": "^2.0.0",
  56. "auto-changelog": "^2.4.0",
  57. "eslint": "=8.8.0",
  58. "evalmd": "^0.0.19",
  59. "is-callable": "^1.2.4",
  60. "make-arrow-function": "^1.2.0",
  61. "make-generator-function": "^2.0.0",
  62. "npmignore": "^0.3.0",
  63. "nyc": "^10.3.2",
  64. "object-inspect": "^1.12.1",
  65. "safe-publish-latest": "^2.0.0",
  66. "tape": "^5.5.3"
  67. },
  68. "auto-changelog": {
  69. "output": "CHANGELOG.md",
  70. "template": "keepachangelog",
  71. "unreleased": false,
  72. "commitLimit": false,
  73. "backfillLimit": false,
  74. "hideCredit": true
  75. },
  76. "dependencies": {
  77. "call-bind": "^1.0.2",
  78. "for-each": "^0.3.3",
  79. "is-typed-array": "^1.1.9"
  80. },
  81. "testling": {
  82. "files": "test/index.js"
  83. },
  84. "publishConfig": {
  85. "ignore": [
  86. ".github/workflows"
  87. ]
  88. }
  89. }