package.json
1 { 2 "name": "side-channel", 3 "version": "1.1.0", 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.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/issues" 43 }, 44 "homepage": "https://github.com/ljharb/side-channel#readme", 45 "dependencies": { 46 "es-errors": "^1.3.0", 47 "object-inspect": "^1.13.3", 48 "side-channel-list": "^1.0.0", 49 "side-channel-map": "^1.0.1", 50 "side-channel-weakmap": "^1.0.2" 51 }, 52 "devDependencies": { 53 "@arethetypeswrong/cli": "^0.17.1", 54 "@ljharb/eslint-config": "^21.1.1", 55 "@ljharb/tsconfig": "^0.2.2", 56 "@types/object-inspect": "^1.13.0", 57 "@types/tape": "^5.6.5", 58 "auto-changelog": "^2.5.0", 59 "eclint": "^2.8.1", 60 "encoding": "^0.1.13", 61 "eslint": "=8.8.0", 62 "in-publish": "^2.0.1", 63 "npmignore": "^0.3.1", 64 "nyc": "^10.3.2", 65 "safe-publish-latest": "^2.0.0", 66 "tape": "^5.9.0", 67 "typescript": "next" 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 }