|
3 | 3 | "version": "0.0.0",
|
4 | 4 | "description": "Get the byte length of an ArrayBuffer, even in engines without a `.byteLength` method.",
|
5 | 5 | "main": "index.js",
|
| 6 | + "exports": { |
| 7 | + ".": "./index.js", |
| 8 | + "./package.json": "./package.json" |
| 9 | + }, |
6 | 10 | "scripts": {
|
7 |
| - "test": "echo \"Error: no test specified\" && exit 1" |
| 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": "npm run tests-only", |
| 19 | + "posttest": "aud --production", |
| 20 | + "version": "auto-changelog && git add CHANGELOG.md", |
| 21 | + "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" |
8 | 22 | },
|
9 | 23 | "keywords": [
|
10 | 24 | "shim",
|
|
17 | 31 | "es-shims"
|
18 | 32 | ],
|
19 | 33 | "author": "Jordan Harband <ljharb@gmail.com>",
|
| 34 | + "funding": { |
| 35 | + "url": "https://github.com/sponsors/ljharb" |
| 36 | + }, |
20 | 37 | "license": "MIT",
|
21 | 38 | "repository": {
|
22 | 39 | "type": "git",
|
|
25 | 42 | "bugs": {
|
26 | 43 | "url": "https://github.com/inspect-js/array-buffer-byte-length/issues"
|
27 | 44 | },
|
28 |
| - "homepage": "https://github.com/inspect-js/array-buffer-byte-length#readme" |
| 45 | + "homepage": "https://github.com/inspect-js/array-buffer-byte-length#readme", |
| 46 | + "dependencies": { |
| 47 | + "call-bind": "^1.0.2", |
| 48 | + "is-array-buffer": "^3.0.1" |
| 49 | + }, |
| 50 | + "devDependencies": { |
| 51 | + "@ljharb/eslint-config": "^21.0.1", |
| 52 | + "aud": "^2.0.2", |
| 53 | + "auto-changelog": "^2.4.0", |
| 54 | + "es-value-fixtures": "^1.4.2", |
| 55 | + "eslint": "=8.8.0", |
| 56 | + "evalmd": "^0.0.19", |
| 57 | + "for-each": "^0.3.3", |
| 58 | + "in-publish": "^2.0.1", |
| 59 | + "npmignore": "^0.3.0", |
| 60 | + "nyc": "^10.3.2", |
| 61 | + "object-inspect": "^1.12.3", |
| 62 | + "safe-publish-latest": "^2.0.0", |
| 63 | + "tape": "^5.6.3" |
| 64 | + }, |
| 65 | + "auto-changelog": { |
| 66 | + "output": "CHANGELOG.md", |
| 67 | + "template": "keepachangelog", |
| 68 | + "unreleased": false, |
| 69 | + "commitLimit": false, |
| 70 | + "backfillLimit": false, |
| 71 | + "hideCredit": true |
| 72 | + }, |
| 73 | + "testling": { |
| 74 | + "files": "test/index.js" |
| 75 | + }, |
| 76 | + "publishConfig": { |
| 77 | + "ignore": [ |
| 78 | + ".github/workflows" |
| 79 | + ] |
| 80 | + } |
29 | 81 | }
|
0 commit comments