codekingpro/portable-devtools
115k
1{
2 "name": "lru-cache",
3 "description": "A cache object that deletes the least-recently-used items.",
4 "version": "11.2.7",
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 && bash fixup.sh",
15 "pretest": "npm run prepare",
16 "presnap": "npm run prepare",
17 "test": "tap",
18 "snap": "tap",
19 "preversion": "npm test",
20 "postversion": "npm publish",
21 "prepublishOnly": "git push origin --follow-tags",
22 "format": "prettier --write .",
23 "typedoc": "typedoc --tsconfig ./.tshy/esm.json ./src/*.ts",
24 "benchmark-results-typedoc": "bash scripts/benchmark-results-typedoc.sh",
25 "prebenchmark": "npm run prepare",
26 "benchmark": "make -C benchmark",
27 "preprofile": "npm run prepare",
28 "profile": "make -C benchmark profile"
29 },
30 "main": "./dist/commonjs/index.min.js",
31 "types": "./dist/commonjs/index.d.ts",
32 "tshy": {
33 "exports": {
34 "./raw": "./src/index.ts",
35 ".": {
36 "import": {
37 "types": "./dist/esm/index.d.ts",
38 "default": "./dist/esm/index.min.js"
39 },
40 "require": {
41 "types": "./dist/commonjs/index.d.ts",
42 "default": "./dist/commonjs/index.min.js"
43 }
44 }
45 }
46 },
47 "repository": {
48 "type": "git",
49 "url": "git+ssh://git@github.com/isaacs/node-lru-cache.git"
50 },
51 "devDependencies": {
52 "@types/node": "^24.3.0",
53 "benchmark": "^2.1.4",
54 "esbuild": "^0.25.9",
55 "marked": "^4.2.12",
56 "mkdirp": "^3.0.1",
57 "prettier": "^3.6.2",
58 "tap": "^21.1.0",
59 "tshy": "^3.0.2",
60 "typedoc": "^0.28.12"
61 },
62 "license": "BlueOak-1.0.0",
63 "files": [
64 "dist"
65 ],
66 "engines": {
67 "node": "20 || >=22"
68 },
69 "exports": {
70 "./raw": {
71 "import": {
72 "types": "./dist/esm/index.d.ts",
73 "default": "./dist/esm/index.js"
74 },
75 "require": {
76 "types": "./dist/commonjs/index.d.ts",
77 "default": "./dist/commonjs/index.js"
78 }
79 },
80 ".": {
81 "import": {
82 "types": "./dist/esm/index.d.ts",
83 "default": "./dist/esm/index.min.js"
84 },
85 "require": {
86 "types": "./dist/commonjs/index.d.ts",
87 "default": "./dist/commonjs/index.min.js"
88 }
89 }
90 },
91 "type": "module",
92 "module": "./dist/esm/index.min.js"
93}
94 