-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
79 lines (79 loc) · 2.05 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
{
"name": "toad-cache",
"description": "LRU and FIFO caches for Client or Server",
"version": "3.7.0",
"homepage": "https://github.com/kibertoad/toad-cache",
"author": "Igor Savin <[email protected]>",
"repository": {
"type": "git",
"url": "git://github.com/kibertoad/toad-cache.git"
},
"bugs": {
"url": "https://github.com/kibertoad/toad-cache/issues"
},
"files": [
"dist",
"*.d.ts",
"*.d.cts"
],
"license": "MIT",
"source": "index.js",
"exports": {
".": {
"import": {
"types": "./toad-cache.d.ts",
"default": "./dist/toad-cache.mjs"
},
"require": {
"types": "./toad-cache.d.cts",
"default": "./dist/toad-cache.cjs"
}
}
},
"main": "dist/toad-cache.cjs",
"types": "./toad-cache.d.ts",
"type": "module",
"sourceType": "module",
"engines": {
"node": ">=12"
},
"engineStrict": true,
"scripts": {
"build": "del-cli dist && del-cli coverage && npm run rollup",
"benchmark": "npm run build && node benchmark.js",
"changelog": "auto-changelog -p",
"lint": "biome lint index.js benchmark.js src test biome.json",
"lint:fix": "biome check --apply index.js benchmark.js src test biome.json",
"rollup": "rollup --config",
"test": "vitest",
"test:coverage": "npm run rollup && npm run test -- --coverage",
"test:ci": "npm run lint && npm run test:coverage && npm run test:typescript",
"test:typescript": "tsd",
"types:generate": "npx -p typescript tsc index.js --declaration --allowJs --emitDeclarationOnly --outDir .",
"prepublishOnly": "npm run build"
},
"devDependencies": {
"@biomejs/biome": "^1.5.3",
"@vitest/coverage-v8": "^2.0.1",
"@rollup/plugin-terser": "^0.4.4",
"auto-changelog": "^2.4.0",
"del-cli": "^6.0.0",
"precise": "^4.0.0",
"rollup": "^4.6.0",
"vitest": "^2.0.1",
"tsd": "^0.31.0",
"typescript": "^5.3.3"
},
"keywords": [
"LRU",
"FIFO",
"cache",
"client",
"server",
"least",
"recently",
"used",
"first",
"browser"
]
}