package.json
1 { 2 "name": "side-channel-weakmap", 3 "version": "1.0.2", 4 "description": "Store information about any JS value in a side channel. Uses WeakMap if available.", 5 "main": "index.js", 6 "exports": { 7 ".": "./index.js", 8 "./package.json": "./package.json" 9 }, 10 "types": "./index.d.ts", 11 "scripts": { 12 "prepack": "npmignore --auto --commentLines=autogenerated", 13 "prepublishOnly": "safe-publish-latest", 14 "prepublish": "not-in-publish || npm run prepublishOnly", 15 "prelint": "eclint check $(git ls-files | xargs find 2> /dev/null | grep -vE 'node_modules|\\.git')", 16 "lint": "eslint --ext=js,mjs .", 17 "postlint": "tsc -p . && attw -P", 18 "pretest": "npm run lint", 19 "tests-only": "nyc tape 'test/**/*.js'", 20 "test": "npm run tests-only", 21 "posttest": "npx npm@'>=10.2' audit --production", 22 "version": "auto-changelog && git add CHANGELOG.md", 23 "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" 24 }, 25 "repository": { 26 "type": "git", 27 "url": "git+https://github.com/ljharb/side-channel-weakmap.git" 28 }, 29 "keywords": [ 30 "weakmap", 31 "map", 32 "side", 33 "channel", 34 "metadata" 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/ljharb/side-channel-weakmap/issues" 43 }, 44 "homepage": "https://github.com/ljharb/side-channel-weakmap#readme", 45 "dependencies": { 46 "call-bound": "^1.0.2", 47 "es-errors": "^1.3.0", 48 "get-intrinsic": "^1.2.5", 49 "object-inspect": "^1.13.3", 50 "side-channel-map": "^1.0.1" 51 }, 52 "devDependencies": { 53 "@arethetypeswrong/cli": "^0.17.1", 54 "@ljharb/eslint-config": "^21.1.1", 55 "@ljharb/tsconfig": "^0.2.2", 56 "@types/call-bind": "^1.0.5", 57 "@types/get-intrinsic": "^1.2.3", 58 "@types/object-inspect": "^1.13.0", 59 "@types/tape": "^5.6.5", 60 "auto-changelog": "^2.5.0", 61 "eclint": "^2.8.1", 62 "encoding": "^0.1.13", 63 "eslint": "=8.8.0", 64 "in-publish": "^2.0.1", 65 "npmignore": "^0.3.1", 66 "nyc": "^10.3.2", 67 "safe-publish-latest": "^2.0.0", 68 "tape": "^5.9.0", 69 "typescript": "next" 70 }, 71 "auto-changelog": { 72 "output": "CHANGELOG.md", 73 "template": "keepachangelog", 74 "unreleased": false, 75 "commitLimit": false, 76 "backfillLimit": false, 77 "hideCredit": true 78 }, 79 "publishConfig": { 80 "ignore": [ 81 ".github/workflows" 82 ] 83 }, 84 "engines": { 85 "node": ">= 0.4" 86 } 87 }