1 | {
|
2 | "name": "p-memoize",
|
3 | "version": "7.1.1",
|
4 | "description": "Memoize promise-returning & async functions",
|
5 | "license": "MIT",
|
6 | "repository": "sindresorhus/p-memoize",
|
7 | "funding": "https://github.com/sindresorhus/p-memoize?sponsor=1",
|
8 | "author": {
|
9 | "name": "Sindre Sorhus",
|
10 | "email": "sindresorhus@gmail.com",
|
11 | "url": "https://sindresorhus.com"
|
12 | },
|
13 | "type": "module",
|
14 | "exports": "./dist/index.js",
|
15 | "types": "./dist/index.d.ts",
|
16 | "engines": {
|
17 | "node": ">=14.16"
|
18 | },
|
19 | "scripts": {
|
20 | "test": "xo && ava && npm run build && tsd",
|
21 | "build": "del-cli dist && tsc",
|
22 | "prepack": "npm run build"
|
23 | },
|
24 | "files": [
|
25 | "dist"
|
26 | ],
|
27 | "keywords": [
|
28 | "promise",
|
29 | "memoize",
|
30 | "mem",
|
31 | "memoization",
|
32 | "function",
|
33 | "cache",
|
34 | "caching",
|
35 | "optimize",
|
36 | "performance",
|
37 | "ttl",
|
38 | "expire",
|
39 | "async",
|
40 | "await",
|
41 | "promises",
|
42 | "time",
|
43 | "out",
|
44 | "cancel",
|
45 | "bluebird"
|
46 | ],
|
47 | "dependencies": {
|
48 | "mimic-fn": "^4.0.0",
|
49 | "type-fest": "^3.0.0"
|
50 | },
|
51 | "devDependencies": {
|
52 | "@sindresorhus/tsconfig": "^3.0.1",
|
53 | "@types/serialize-javascript": "^5.0.2",
|
54 | "ava": "^4.3.3",
|
55 | "del-cli": "^5.0.0",
|
56 | "delay": "^5.0.0",
|
57 | "p-defer": "^4.0.0",
|
58 | "p-state": "^1.0.0",
|
59 | "serialize-javascript": "^6.0.0",
|
60 | "ts-node": "^10.9.1",
|
61 | "tsd": "^0.24.1",
|
62 | "xo": "^0.52.4"
|
63 | },
|
64 | "ava": {
|
65 | "extensions": {
|
66 | "ts": "module"
|
67 | },
|
68 | "nodeArguments": [
|
69 | "--loader=ts-node/esm"
|
70 | ]
|
71 | },
|
72 | "xo": {
|
73 | "rules": {
|
74 | "@typescript-eslint/no-redundant-type-constituents": "off"
|
75 | }
|
76 | }
|
77 | }
|