1 | {
|
---|
2 | "name": "typed-array-byte-length",
|
---|
3 | "version": "1.0.1",
|
---|
4 | "description": "Robustly get the byte 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 .",
|
---|
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 | "repository": {
|
---|
27 | "type": "git",
|
---|
28 | "url": "git+https://github.com/inspect-js/typed-array-byte-length.git"
|
---|
29 | },
|
---|
30 | "keywords": [
|
---|
31 | "typed",
|
---|
32 | "array",
|
---|
33 | "byteLength",
|
---|
34 | "byte",
|
---|
35 | "length",
|
---|
36 | "robust",
|
---|
37 | "es",
|
---|
38 | "Int8Array",
|
---|
39 | "Uint8Array",
|
---|
40 | "Uint8ClampedArray",
|
---|
41 | "Int16Array",
|
---|
42 | "Uint16Array",
|
---|
43 | "Int32Array",
|
---|
44 | "Uint32Array",
|
---|
45 | "Float32Array",
|
---|
46 | "Float64Array",
|
---|
47 | "BigInt64Array",
|
---|
48 | "BigUint64Array"
|
---|
49 | ],
|
---|
50 | "author": "Jordan Harband <ljharb@gmail.com>",
|
---|
51 | "funding": {
|
---|
52 | "url": "https://github.com/sponsors/ljharb"
|
---|
53 | },
|
---|
54 | "license": "MIT",
|
---|
55 | "bugs": {
|
---|
56 | "url": "https://github.com/inspect-js/typed-array-byte-length/issues"
|
---|
57 | },
|
---|
58 | "homepage": "https://github.com/inspect-js/typed-array-byte-length#readme",
|
---|
59 | "dependencies": {
|
---|
60 | "call-bind": "^1.0.7",
|
---|
61 | "for-each": "^0.3.3",
|
---|
62 | "gopd": "^1.0.1",
|
---|
63 | "has-proto": "^1.0.3",
|
---|
64 | "is-typed-array": "^1.1.13"
|
---|
65 | },
|
---|
66 | "devDependencies": {
|
---|
67 | "@ljharb/eslint-config": "^21.1.0",
|
---|
68 | "@types/call-bind": "^1.0.5",
|
---|
69 | "@types/for-each": "^0.3.3",
|
---|
70 | "@types/gopd": "^1.0.3",
|
---|
71 | "@types/is-callable": "^1.1.2",
|
---|
72 | "@types/make-arrow-function": "^1.2.2",
|
---|
73 | "@types/make-generator-function": "^2.0.3",
|
---|
74 | "@types/object-inspect": "^1.8.4",
|
---|
75 | "@types/tape": "^5.6.4",
|
---|
76 | "aud": "^2.0.4",
|
---|
77 | "auto-changelog": "^2.4.0",
|
---|
78 | "available-typed-arrays": "^1.0.7",
|
---|
79 | "eslint": "=8.8.0",
|
---|
80 | "evalmd": "^0.0.19",
|
---|
81 | "in-publish": "^2.0.1",
|
---|
82 | "is-callable": "^1.2.7",
|
---|
83 | "make-arrow-function": "^1.2.0",
|
---|
84 | "make-generator-function": "^2.0.0",
|
---|
85 | "npmignore": "^0.3.1",
|
---|
86 | "nyc": "^10.3.2",
|
---|
87 | "object-inspect": "^1.13.1",
|
---|
88 | "safe-publish-latest": "^2.0.0",
|
---|
89 | "tape": "^5.7.5",
|
---|
90 | "typescript": "next"
|
---|
91 | },
|
---|
92 | "engines": {
|
---|
93 | "node": ">= 0.4"
|
---|
94 | },
|
---|
95 | "auto-changelog": {
|
---|
96 | "output": "CHANGELOG.md",
|
---|
97 | "template": "keepachangelog",
|
---|
98 | "unreleased": false,
|
---|
99 | "commitLimit": false,
|
---|
100 | "backfillLimit": false,
|
---|
101 | "hideCredit": true
|
---|
102 | },
|
---|
103 | "testling": {
|
---|
104 | "files": "test/index.js"
|
---|
105 | },
|
---|
106 | "publishConfig": {
|
---|
107 | "ignore": [
|
---|
108 | ".github/workflows"
|
---|
109 | ]
|
---|
110 | }
|
---|
111 | }
|
---|