Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
83 lines (83 loc) · 2.14 KB
/
Copy pathpackage.json
File metadata and controls
83 lines (83 loc) · 2.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
{
"name": "@jtkunley/reference-data-cache",
"version": "1.0.1",
"description": "Read-through cache for reference data in Node.js. A reader caches in memory; an owner also shares values through Redis and can invalidate. Single-flight loading, and Redis failures never fail a read.",
"keywords": [
"cache",
"caching",
"reference-data",
"read-through-cache",
"in-memory-cache",
"redis",
"redis-cache",
"cache-invalidation",
"single-flight",
"ttl",
"typescript",
"nodejs"
],
"homepage": "https://github.com/jtkunley/reference-data-cache#readme",
"bugs": {
"url": "https://github.com/jtkunley/reference-data-cache/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/jtkunley/reference-data-cache.git"
},
"license": "MIT",
"author": "jtkunley",
"type": "module",
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
},
"./package.json": "./package.json"
},
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist",
"README.md",
"LICENSE",
"CHANGELOG.md"
],
"sideEffects": false,
"publishConfig": {
"access": "public"
},
"engines": {
"node": ">=22"
},
"scripts": {
"build": "tsup",
"clean": "rm -rf dist coverage",
"typecheck": "tsc --noEmit",
"lint": "eslint .",
"format": "prettier --write .",
"format:check": "prettier --check .",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"check": "npm run typecheck && npm run lint && npm run format:check && npm run test",
"prepublishOnly": "npm run clean && npm run check && npm run build"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@types/node": "^22.20.5",
"@vitest/coverage-v8": "^5.1.0",
"eslint": "^10.14.0",
"prettier": "^3.9.10",
"tsup": "^9.0.0",
"typescript": "^5.9.3",
"typescript-eslint": "^8.72.1",
"vitest": "^5.1.0"
}
}