1 | {
|
---|
2 | "name": "which-typed-array",
|
---|
3 | "version": "1.1.15",
|
---|
4 | "author": {
|
---|
5 | "name": "Jordan Harband",
|
---|
6 | "email": "ljharb@gmail.com",
|
---|
7 | "url": "http://ljharb.codes"
|
---|
8 | },
|
---|
9 | "funding": {
|
---|
10 | "url": "https://github.com/sponsors/ljharb"
|
---|
11 | },
|
---|
12 | "contributors": [
|
---|
13 | {
|
---|
14 | "name": "Jordan Harband",
|
---|
15 | "email": "ljharb@gmail.com",
|
---|
16 | "url": "http://ljharb.codes"
|
---|
17 | }
|
---|
18 | ],
|
---|
19 | "description": "Which kind of Typed Array is this JavaScript value? Works cross-realm, without `instanceof`, and despite Symbol.toStringTag.",
|
---|
20 | "license": "MIT",
|
---|
21 | "main": "index.js",
|
---|
22 | "types": "./index.d.ts",
|
---|
23 | "sideEffects": false,
|
---|
24 | "scripts": {
|
---|
25 | "prepack": "npmignore --auto --commentLines=autogenerated",
|
---|
26 | "prepublishOnly": "safe-publish-latest",
|
---|
27 | "prepublish": "not-in-publish || npm run prepublishOnly",
|
---|
28 | "pretest": "npm run --silent lint",
|
---|
29 | "test": "npm run tests-only && npm run test:harmony",
|
---|
30 | "tests-only": "nyc tape test",
|
---|
31 | "test:harmony": "nyc node --harmony --es-staging test",
|
---|
32 | "posttest": "aud --production",
|
---|
33 | "lint": "eslint --ext=js,mjs .",
|
---|
34 | "postlint": "tsc -p . && attw -P",
|
---|
35 | "version": "auto-changelog && git add CHANGELOG.md",
|
---|
36 | "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
|
---|
37 | },
|
---|
38 | "repository": {
|
---|
39 | "type": "git",
|
---|
40 | "url": "git://github.com/inspect-js/which-typed-array.git"
|
---|
41 | },
|
---|
42 | "keywords": [
|
---|
43 | "array",
|
---|
44 | "TypedArray",
|
---|
45 | "typed array",
|
---|
46 | "which",
|
---|
47 | "typed",
|
---|
48 | "Int8Array",
|
---|
49 | "Uint8Array",
|
---|
50 | "Uint8ClampedArray",
|
---|
51 | "Int16Array",
|
---|
52 | "Uint16Array",
|
---|
53 | "Int32Array",
|
---|
54 | "Uint32Array",
|
---|
55 | "Float32Array",
|
---|
56 | "Float64Array",
|
---|
57 | "ES6",
|
---|
58 | "toStringTag",
|
---|
59 | "Symbol.toStringTag",
|
---|
60 | "@@toStringTag"
|
---|
61 | ],
|
---|
62 | "dependencies": {
|
---|
63 | "available-typed-arrays": "^1.0.7",
|
---|
64 | "call-bind": "^1.0.7",
|
---|
65 | "for-each": "^0.3.3",
|
---|
66 | "gopd": "^1.0.1",
|
---|
67 | "has-tostringtag": "^1.0.2"
|
---|
68 | },
|
---|
69 | "devDependencies": {
|
---|
70 | "@arethetypeswrong/cli": "^0.15.1",
|
---|
71 | "@ljharb/eslint-config": "^21.1.0",
|
---|
72 | "@ljharb/tsconfig": "^0.2.0",
|
---|
73 | "@types/call-bind": "^1.0.5",
|
---|
74 | "@types/for-each": "^0.3.3",
|
---|
75 | "@types/gopd": "^1.0.3",
|
---|
76 | "@types/is-callable": "^1.1.2",
|
---|
77 | "@types/make-arrow-function": "^1.2.2",
|
---|
78 | "@types/make-generator-function": "^2.0.3",
|
---|
79 | "@types/node": "^20.11.25",
|
---|
80 | "@types/tape": "^5.6.4",
|
---|
81 | "aud": "^2.0.4",
|
---|
82 | "auto-changelog": "^2.4.0",
|
---|
83 | "eslint": "=8.8.0",
|
---|
84 | "in-publish": "^2.0.1",
|
---|
85 | "is-callable": "^1.2.7",
|
---|
86 | "make-arrow-function": "^1.2.0",
|
---|
87 | "make-generator-function": "^2.0.0",
|
---|
88 | "npmignore": "^0.3.1",
|
---|
89 | "nyc": "^10.3.2",
|
---|
90 | "safe-publish-latest": "^2.0.0",
|
---|
91 | "tape": "^5.7.5",
|
---|
92 | "typescript": "next"
|
---|
93 | },
|
---|
94 | "testling": {
|
---|
95 | "files": "test/index.js",
|
---|
96 | "browsers": [
|
---|
97 | "iexplore/6.0..latest",
|
---|
98 | "firefox/3.0..6.0",
|
---|
99 | "firefox/15.0..latest",
|
---|
100 | "firefox/nightly",
|
---|
101 | "chrome/4.0..10.0",
|
---|
102 | "chrome/20.0..latest",
|
---|
103 | "chrome/canary",
|
---|
104 | "opera/10.0..latest",
|
---|
105 | "opera/next",
|
---|
106 | "safari/4.0..latest",
|
---|
107 | "ipad/6.0..latest",
|
---|
108 | "iphone/6.0..latest",
|
---|
109 | "android-browser/4.2"
|
---|
110 | ]
|
---|
111 | },
|
---|
112 | "engines": {
|
---|
113 | "node": ">= 0.4"
|
---|
114 | },
|
---|
115 | "auto-changelog": {
|
---|
116 | "output": "CHANGELOG.md",
|
---|
117 | "template": "keepachangelog",
|
---|
118 | "unreleased": false,
|
---|
119 | "commitLimit": false,
|
---|
120 | "backfillLimit": false,
|
---|
121 | "hideCredit": true
|
---|
122 | },
|
---|
123 | "publishConfig": {
|
---|
124 | "ignore": [
|
---|
125 | ".github/workflows"
|
---|
126 | ]
|
---|
127 | }
|
---|
128 | }
|
---|