[d565449] | 1 | {
|
---|
| 2 | "name": "which-collection",
|
---|
| 3 | "version": "1.0.2",
|
---|
| 4 | "description": "Which kind of Collection (Map, Set, WeakMap, WeakSet) is this JavaScript value? Works cross-realm, without `instanceof`, and despite Symbol.toStringTag.",
|
---|
| 5 | "main": "index.js",
|
---|
| 6 | "exports": {
|
---|
| 7 | ".": "./index.js",
|
---|
| 8 | "./package.json": "./package.json"
|
---|
| 9 | },
|
---|
| 10 | "sideEffects": false,
|
---|
| 11 | "scripts": {
|
---|
| 12 | "prepack": "npmignore --auto --commentLines=autogenerated",
|
---|
| 13 | "prepublishOnly": "safe-publish-latest",
|
---|
| 14 | "prepublish": "not-in-publish || npm run prepublishOnly",
|
---|
| 15 | "lint": "eslint --ext=js,mjs .",
|
---|
| 16 | "pretest": "npm run lint",
|
---|
| 17 | "postlint": "tsc -p . && attw -P",
|
---|
| 18 | "tests-only": "nyc tape 'test/**/*.js'",
|
---|
| 19 | "test": "npm run tests-only",
|
---|
| 20 | "posttest": "npx 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/which-collection.git"
|
---|
| 27 | },
|
---|
| 28 | "keywords": [
|
---|
| 29 | "map",
|
---|
| 30 | "set",
|
---|
| 31 | "weakmap",
|
---|
| 32 | "weakset",
|
---|
| 33 | "collection.es6",
|
---|
| 34 | "es2015"
|
---|
| 35 | ],
|
---|
| 36 | "author": "Jordan Harband <ljharb@gmail.com>",
|
---|
| 37 | "funding": {
|
---|
| 38 | "url": "https://github.com/sponsors/ljharb"
|
---|
| 39 | },
|
---|
| 40 | "license": "MIT",
|
---|
| 41 | "bugs": {
|
---|
| 42 | "url": "https://github.com/inspect-js/which-collection/issues"
|
---|
| 43 | },
|
---|
| 44 | "homepage": "https://github.com/inspect-js/which-collection#readme",
|
---|
| 45 | "devDependencies": {
|
---|
| 46 | "@arethetypeswrong/cli": "^0.15.0",
|
---|
| 47 | "@ljharb/eslint-config": "^21.1.0",
|
---|
| 48 | "@types/for-each": "^0.3.3",
|
---|
| 49 | "@types/object-inspect": "^1.8.4",
|
---|
| 50 | "@types/tape": "^5.6.4",
|
---|
| 51 | "aud": "^2.0.4",
|
---|
| 52 | "auto-changelog": "^2.4.0",
|
---|
| 53 | "eslint": "=8.8.0",
|
---|
| 54 | "for-each": "^0.3.3",
|
---|
| 55 | "in-publish": "^2.0.1",
|
---|
| 56 | "npmignore": "^0.3.1",
|
---|
| 57 | "nyc": "^10.3.2",
|
---|
| 58 | "object-inspect": "^1.13.1",
|
---|
| 59 | "safe-publish-latest": "^2.0.0",
|
---|
| 60 | "tape": "^5.7.5",
|
---|
| 61 | "typescript": "next"
|
---|
| 62 | },
|
---|
| 63 | "dependencies": {
|
---|
| 64 | "is-map": "^2.0.3",
|
---|
| 65 | "is-set": "^2.0.3",
|
---|
| 66 | "is-weakmap": "^2.0.2",
|
---|
| 67 | "is-weakset": "^2.0.3"
|
---|
| 68 | },
|
---|
| 69 | "auto-changelog": {
|
---|
| 70 | "output": "CHANGELOG.md",
|
---|
| 71 | "template": "keepachangelog",
|
---|
| 72 | "unreleased": false,
|
---|
| 73 | "commitLimit": false,
|
---|
| 74 | "backfillLimit": false,
|
---|
| 75 | "hideCredit": true
|
---|
| 76 | },
|
---|
| 77 | "publishConfig": {
|
---|
| 78 | "ignore": [
|
---|
| 79 | ".github/workflows"
|
---|
| 80 | ]
|
---|
| 81 | },
|
---|
| 82 | "engines": {
|
---|
| 83 | "node": ">= 0.4"
|
---|
| 84 | }
|
---|
| 85 | }
|
---|