| { | |
| "name": "which-collection", | |
| "version": "1.0.2", | |
| "description": "Which kind of Collection (Map, Set, WeakMap, WeakSet) is this JavaScript value? Works cross-realm, without `instanceof`, and despite Symbol.toStringTag.", | |
| "main": "index.js", | |
| "exports": { | |
| ".": "./index.js", | |
| "./package.json": "./package.json" | |
| }, | |
| "sideEffects": false, | |
| "scripts": { | |
| "prepack": "npmignore --auto --commentLines=autogenerated", | |
| "prepublishOnly": "safe-publish-latest", | |
| "prepublish": "not-in-publish || npm run prepublishOnly", | |
| "lint": "eslint --ext=js,mjs .", | |
| "pretest": "npm run lint", | |
| "postlint": "tsc -p . && attw -P", | |
| "tests-only": "nyc tape 'test/**/*.js'", | |
| "test": "npm run tests-only", | |
| "posttest": "npx aud --production", | |
| "version": "auto-changelog && git add CHANGELOG.md", | |
| "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" | |
| }, | |
| "repository": { | |
| "type": "git", | |
| "url": "git+https://github.com/inspect-js/which-collection.git" | |
| }, | |
| "keywords": [ | |
| "map", | |
| "set", | |
| "weakmap", | |
| "weakset", | |
| "collection.es6", | |
| "es2015" | |
| ], | |
| "author": "Jordan Harband <ljharb@gmail.com>", | |
| "funding": { | |
| "url": "https://github.com/sponsors/ljharb" | |
| }, | |
| "license": "MIT", | |
| "bugs": { | |
| "url": "https://github.com/inspect-js/which-collection/issues" | |
| }, | |
| "homepage": "https://github.com/inspect-js/which-collection#readme", | |
| "devDependencies": { | |
| "@arethetypeswrong/cli": "^0.15.0", | |
| "@ljharb/eslint-config": "^21.1.0", | |
| "@types/for-each": "^0.3.3", | |
| "@types/object-inspect": "^1.8.4", | |
| "@types/tape": "^5.6.4", | |
| "aud": "^2.0.4", | |
| "auto-changelog": "^2.4.0", | |
| "eslint": "=8.8.0", | |
| "for-each": "^0.3.3", | |
| "in-publish": "^2.0.1", | |
| "npmignore": "^0.3.1", | |
| "nyc": "^10.3.2", | |
| "object-inspect": "^1.13.1", | |
| "safe-publish-latest": "^2.0.0", | |
| "tape": "^5.7.5", | |
| "typescript": "next" | |
| }, | |
| "dependencies": { | |
| "is-map": "^2.0.3", | |
| "is-set": "^2.0.3", | |
| "is-weakmap": "^2.0.2", | |
| "is-weakset": "^2.0.3" | |
| }, | |
| "auto-changelog": { | |
| "output": "CHANGELOG.md", | |
| "template": "keepachangelog", | |
| "unreleased": false, | |
| "commitLimit": false, | |
| "backfillLimit": false, | |
| "hideCredit": true | |
| }, | |
| "publishConfig": { | |
| "ignore": [ | |
| ".github/workflows" | |
| ] | |
| }, | |
| "engines": { | |
| "node": ">= 0.4" | |
| } | |
| } |