-
Notifications
You must be signed in to change notification settings - Fork 24
/
package.json
55 lines (55 loc) · 1.56 KB
/
package.json
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
{
"name": "@epic-web/cachified",
"version": "0.0.0-development",
"description": "neat wrapper for various caches",
"main": "dist/index.cjs",
"module": "dist/index.mjs",
"types": "dist/src/index.d.ts",
"publishConfig": {
"access": "public"
},
"exports": {
".": {
"require": "./dist/index.cjs",
"import": "./dist/index.mjs",
"types": "./dist/src/index.d.ts"
}
},
"scripts": {
"prepare": "rm -rf dist && npm run build",
"build": "npm run build:declarations && npm run build:esm && npm run build:cjs",
"build:declarations": "tsc && rm dist/src/*.spec.d.ts; rm dist/src/testHelpers.d.ts",
"build:esm": "esbuild src/index.ts --outfile=dist/index.mjs --format=esm --bundle --target=es2020 --sourcemap",
"build:cjs": "esbuild src/index.ts --outfile=dist/index.cjs --format=cjs --bundle --target=es2020 --sourcemap",
"test": "jest"
},
"repository": {
"type": "git",
"url": "https://github.com/epicweb-dev/cachified.git"
},
"keywords": [
"cache",
"wrapper",
"ttl",
"stale while revalidate",
"typescript",
"lru-cache",
"redis",
"typed"
],
"author": "Hannes Diercks <[email protected]> (https://xiphe.net/)",
"license": "MIT",
"bugs": {
"url": "https://github.com/epicweb-dev/cachified/issues"
},
"homepage": "https://github.com/epicweb-dev/cachified#readme",
"devDependencies": {
"@types/jest": "29.5.12",
"@types/node": "20.12.7",
"esbuild": "0.20.2",
"jest": "29.7.0",
"ts-jest": "29.1.2",
"typescript": "5.4.5",
"zod": "3.23.5"
}
}