[d565449] | 1 | {
|
---|
| 2 | "name": "array-buffer-byte-length",
|
---|
| 3 | "version": "1.0.1",
|
---|
| 4 | "description": "Get the byte length of an ArrayBuffer, even in engines without a `.byteLength` method.",
|
---|
| 5 | "main": "index.js",
|
---|
| 6 | "exports": {
|
---|
| 7 | ".": "./index.js",
|
---|
| 8 | "./package.json": "./package.json"
|
---|
| 9 | },
|
---|
| 10 | "sideEffects": false,
|
---|
| 11 | "types": "./index.d.ts",
|
---|
| 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 .",
|
---|
| 20 | "tests-only": "nyc tape 'test/**/*.js'",
|
---|
| 21 | "test": "npm run tests-only",
|
---|
| 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 | "keywords": [
|
---|
| 27 | "shim",
|
---|
| 28 | "polyfill",
|
---|
| 29 | "ArrayBuffer",
|
---|
| 30 | "byteLength",
|
---|
| 31 | "byte",
|
---|
| 32 | "length",
|
---|
| 33 | "es-shim API",
|
---|
| 34 | "es-shims"
|
---|
| 35 | ],
|
---|
| 36 | "author": "Jordan Harband <ljharb@gmail.com>",
|
---|
| 37 | "funding": {
|
---|
| 38 | "url": "https://github.com/sponsors/ljharb"
|
---|
| 39 | },
|
---|
| 40 | "license": "MIT",
|
---|
| 41 | "repository": {
|
---|
| 42 | "type": "git",
|
---|
| 43 | "url": "git+https://github.com/inspect-js/array-buffer-byte-length.git"
|
---|
| 44 | },
|
---|
| 45 | "bugs": {
|
---|
| 46 | "url": "https://github.com/inspect-js/array-buffer-byte-length/issues"
|
---|
| 47 | },
|
---|
| 48 | "homepage": "https://github.com/inspect-js/array-buffer-byte-length#readme",
|
---|
| 49 | "dependencies": {
|
---|
| 50 | "call-bind": "^1.0.5",
|
---|
| 51 | "is-array-buffer": "^3.0.4"
|
---|
| 52 | },
|
---|
| 53 | "devDependencies": {
|
---|
| 54 | "@ljharb/eslint-config": "^21.1.0",
|
---|
| 55 | "@types/call-bind": "^1.0.5",
|
---|
| 56 | "@types/es-value-fixtures": "^1.4.4",
|
---|
| 57 | "@types/for-each": "^0.3.3",
|
---|
| 58 | "@types/object-inspect": "^1.8.4",
|
---|
| 59 | "@types/tape": "^5.6.4",
|
---|
| 60 | "aud": "^2.0.4",
|
---|
| 61 | "auto-changelog": "^2.4.0",
|
---|
| 62 | "es-value-fixtures": "^1.4.2",
|
---|
| 63 | "eslint": "=8.8.0",
|
---|
| 64 | "evalmd": "^0.0.19",
|
---|
| 65 | "for-each": "^0.3.3",
|
---|
| 66 | "in-publish": "^2.0.1",
|
---|
| 67 | "npmignore": "^0.3.1",
|
---|
| 68 | "nyc": "^10.3.2",
|
---|
| 69 | "object-inspect": "^1.13.1",
|
---|
| 70 | "safe-publish-latest": "^2.0.0",
|
---|
| 71 | "tape": "^5.7.4",
|
---|
| 72 | "typescript": "^5.4.0-dev.20240202"
|
---|
| 73 | },
|
---|
| 74 | "auto-changelog": {
|
---|
| 75 | "output": "CHANGELOG.md",
|
---|
| 76 | "template": "keepachangelog",
|
---|
| 77 | "unreleased": false,
|
---|
| 78 | "commitLimit": false,
|
---|
| 79 | "backfillLimit": false,
|
---|
| 80 | "hideCredit": true
|
---|
| 81 | },
|
---|
| 82 | "testling": {
|
---|
| 83 | "files": "test/index.js"
|
---|
| 84 | },
|
---|
| 85 | "publishConfig": {
|
---|
| 86 | "ignore": [
|
---|
| 87 | ".github/workflows"
|
---|
| 88 | ]
|
---|
| 89 | },
|
---|
| 90 | "engines": {
|
---|
| 91 | "node": ">= 0.4"
|
---|
| 92 | }
|
---|
| 93 | }
|
---|