You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
111 lines
2.7 KiB
JSON
111 lines
2.7 KiB
JSON
{
|
|
"name": "lru-cache",
|
|
"description": "A cache object that deletes the least-recently-used items.",
|
|
"version": "8.0.5",
|
|
"author": "Isaac Z. Schlueter <i@izs.me>",
|
|
"keywords": [
|
|
"mru",
|
|
"lru",
|
|
"cache"
|
|
],
|
|
"sideEffects": false,
|
|
"scripts": {
|
|
"build": "npm run prepare",
|
|
"preprepare": "rm -rf dist",
|
|
"prepare": "tsc -p tsconfig.json && tsc -p tsconfig-esm.json",
|
|
"postprepare": "bash fixup.sh",
|
|
"pretest": "npm run prepare",
|
|
"presnap": "npm run prepare",
|
|
"test": "c8 tap",
|
|
"snap": "c8 tap",
|
|
"preversion": "npm test",
|
|
"postversion": "npm publish",
|
|
"prepublishOnly": "git push origin --follow-tags",
|
|
"format": "prettier --write .",
|
|
"typedoc": "typedoc --tsconfig tsconfig-esm.json ./src/*.ts",
|
|
"benchmark-results-typedoc": "bash scripts/benchmark-results-typedoc.sh",
|
|
"prebenchmark": "npm run prepare",
|
|
"benchmark": "make -C benchmark",
|
|
"preprofile": "npm run prepare",
|
|
"profile": "make -C benchmark profile"
|
|
},
|
|
"main": "./dist/cjs/index-cjs.js",
|
|
"module": "./dist/mjs/index.js",
|
|
"types": "./dist/mjs/index.d.ts",
|
|
"exports": {
|
|
"./min": {
|
|
"import": {
|
|
"types": "./dist/mjs/index.d.ts",
|
|
"default": "./dist/mjs/index.min.js"
|
|
},
|
|
"require": {
|
|
"types": "./dist/cjs/index.d.ts",
|
|
"default": "./dist/cjs/index.min.js"
|
|
}
|
|
},
|
|
".": {
|
|
"import": {
|
|
"types": "./dist/mjs/index.d.ts",
|
|
"default": "./dist/mjs/index.js"
|
|
},
|
|
"require": {
|
|
"types": "./dist/cjs/index.d.ts",
|
|
"default": "./dist/cjs/index-cjs.js"
|
|
}
|
|
}
|
|
},
|
|
"repository": "git://github.com/isaacs/node-lru-cache.git",
|
|
"devDependencies": {
|
|
"@size-limit/preset-small-lib": "^7.0.8",
|
|
"@types/node": "^17.0.31",
|
|
"@types/tap": "^15.0.6",
|
|
"benchmark": "^2.1.4",
|
|
"c8": "^7.11.2",
|
|
"clock-mock": "^1.0.6",
|
|
"esbuild": "^0.17.11",
|
|
"eslint-config-prettier": "^8.5.0",
|
|
"marked": "^4.2.12",
|
|
"mkdirp": "^2.1.5",
|
|
"prettier": "^2.6.2",
|
|
"size-limit": "^7.0.8",
|
|
"tap": "^16.3.4",
|
|
"ts-node": "^10.7.0",
|
|
"tslib": "^2.4.0",
|
|
"typedoc": "^0.23.24",
|
|
"typescript": "^4.6.4"
|
|
},
|
|
"license": "ISC",
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"engines": {
|
|
"node": ">=16.14"
|
|
},
|
|
"prettier": {
|
|
"semi": false,
|
|
"printWidth": 70,
|
|
"tabWidth": 2,
|
|
"useTabs": false,
|
|
"singleQuote": true,
|
|
"jsxSingleQuote": false,
|
|
"bracketSameLine": true,
|
|
"arrowParens": "avoid",
|
|
"endOfLine": "lf"
|
|
},
|
|
"tap": {
|
|
"coverage": false,
|
|
"node-arg": [
|
|
"--expose-gc",
|
|
"--no-warnings",
|
|
"--loader",
|
|
"ts-node/esm"
|
|
],
|
|
"ts": false
|
|
},
|
|
"size-limit": [
|
|
{
|
|
"path": "./dist/mjs/index.js"
|
|
}
|
|
]
|
|
}
|