1{ 2 "name": "lru-cache", 3 "description": "A cache object that deletes the least-recently-used items.", 4 "version": "10.2.0", 5 "author": "Isaac Z. Schlueter <i@izs.me>", 6 "keywords": [ 7 "mru", 8 "lru", 9 "cache" 10 ], 11 "sideEffects": false, 12 "scripts": { 13 "build": "npm run prepare", 14 "prepare": "tshy", 15 "postprepare": "bash fixup.sh", 16 "pretest": "npm run prepare", 17 "presnap": "npm run prepare", 18 "test": "tap", 19 "snap": "tap", 20 "preversion": "npm test", 21 "postversion": "npm publish", 22 "prepublishOnly": "git push origin --follow-tags", 23 "format": "prettier --write .", 24 "typedoc": "typedoc --tsconfig ./.tshy/esm.json ./src/*.ts", 25 "benchmark-results-typedoc": "bash scripts/benchmark-results-typedoc.sh", 26 "prebenchmark": "npm run prepare", 27 "benchmark": "make -C benchmark", 28 "preprofile": "npm run prepare", 29 "profile": "make -C benchmark profile" 30 }, 31 "main": "./dist/commonjs/index.js", 32 "types": "./dist/commonjs/index.d.ts", 33 "tshy": { 34 "exports": { 35 ".": "./src/index.ts", 36 "./min": { 37 "import": { 38 "types": "./dist/mjs/index.d.ts", 39 "default": "./dist/mjs/index.min.js" 40 }, 41 "require": { 42 "types": "./dist/commonjs/index.d.ts", 43 "default": "./dist/commonjs/index.min.js" 44 } 45 } 46 } 47 }, 48 "repository": { 49 "type": "git", 50 "url": "git://github.com/isaacs/node-lru-cache.git" 51 }, 52 "devDependencies": { 53 "@tapjs/clock": "^1.1.16", 54 "@types/node": "^20.2.5", 55 "@types/tap": "^15.0.6", 56 "benchmark": "^2.1.4", 57 "clock-mock": "^2.0.2", 58 "esbuild": "^0.17.11", 59 "eslint-config-prettier": "^8.5.0", 60 "marked": "^4.2.12", 61 "mkdirp": "^2.1.5", 62 "prettier": "^2.6.2", 63 "tap": "^18.5.7", 64 "tshy": "^1.8.0", 65 "tslib": "^2.4.0", 66 "typedoc": "^0.25.3", 67 "typescript": "^5.2.2" 68 }, 69 "license": "ISC", 70 "files": [ 71 "dist" 72 ], 73 "engines": { 74 "node": "14 || >=16.14" 75 }, 76 "prettier": { 77 "semi": false, 78 "printWidth": 70, 79 "tabWidth": 2, 80 "useTabs": false, 81 "singleQuote": true, 82 "jsxSingleQuote": false, 83 "bracketSameLine": true, 84 "arrowParens": "avoid", 85 "endOfLine": "lf" 86 }, 87 "tap": { 88 "node-arg": [ 89 "--expose-gc" 90 ], 91 "plugin": [ 92 "@tapjs/clock" 93 ] 94 }, 95 "exports": { 96 ".": { 97 "import": { 98 "types": "./dist/esm/index.d.ts", 99 "default": "./dist/esm/index.js" 100 }, 101 "require": { 102 "types": "./dist/commonjs/index.d.ts", 103 "default": "./dist/commonjs/index.js" 104 } 105 }, 106 "./min": { 107 "import": { 108 "types": "./dist/mjs/index.d.ts", 109 "default": "./dist/mjs/index.min.js" 110 }, 111 "require": { 112 "types": "./dist/commonjs/index.d.ts", 113 "default": "./dist/commonjs/index.min.js" 114 } 115 } 116 }, 117 "type": "module" 118} 119