77 строки
1.7 KiB
JSON
77 строки
1.7 KiB
JSON
{
|
|
"name": "mem",
|
|
"version": "9.0.2",
|
|
"description": "Memoize functions - An optimization used to speed up consecutive function calls by caching the result of calls with identical input",
|
|
"license": "MIT",
|
|
"repository": "sindresorhus/mem",
|
|
"funding": "https://github.com/sindresorhus/mem?sponsor=1",
|
|
"author": {
|
|
"name": "Sindre Sorhus",
|
|
"email": "sindresorhus@gmail.com",
|
|
"url": "https://sindresorhus.com"
|
|
},
|
|
"type": "module",
|
|
"exports": "./dist/index.js",
|
|
"engines": {
|
|
"node": ">=12.20"
|
|
},
|
|
"scripts": {
|
|
"test": "xo && ava && npm run build && tsd",
|
|
"build": "del-cli dist && tsc",
|
|
"prepack": "npm run build"
|
|
},
|
|
"types": "dist/index.d.ts",
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"keywords": [
|
|
"memoize",
|
|
"function",
|
|
"mem",
|
|
"memoization",
|
|
"cache",
|
|
"caching",
|
|
"optimize",
|
|
"performance",
|
|
"ttl",
|
|
"expire",
|
|
"promise"
|
|
],
|
|
"dependencies": {
|
|
"map-age-cleaner": "^0.1.3",
|
|
"mimic-fn": "^4.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@ava/typescript": "^1.1.1",
|
|
"@sindresorhus/tsconfig": "^1.0.2",
|
|
"@types/serialize-javascript": "^4.0.0",
|
|
"ava": "^3.15.0",
|
|
"del-cli": "^3.0.1",
|
|
"delay": "^4.4.0",
|
|
"serialize-javascript": "^5.0.1",
|
|
"ts-node": "^10.1.0",
|
|
"tsd": "^0.13.1",
|
|
"typescript": "^4.3.5",
|
|
"xo": "^0.41.0"
|
|
},
|
|
"ava": {
|
|
"timeout": "1m",
|
|
"extensions": {
|
|
"ts": "module"
|
|
},
|
|
"nonSemVerExperiments": {
|
|
"configurableModuleFormat": true
|
|
},
|
|
"nodeArguments": [
|
|
"--loader=ts-node/esm"
|
|
]
|
|
},
|
|
"xo": {
|
|
"rules": {
|
|
"@typescript-eslint/member-ordering": "off",
|
|
"@typescript-eslint/no-var-requires": "off",
|
|
"@typescript-eslint/no-empty-function": "off"
|
|
}
|
|
}
|
|
}
|