This repository was archived by the owner on Mar 12, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
85 lines (85 loc) · 2.06 KB
/
package.json
File metadata and controls
85 lines (85 loc) · 2.06 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
84
85
{
"name": "map-as-lru",
"version": "0.1.0",
"description": "A simple lru cache based on map.",
"main": "dist/index.cjs.js",
"module": "dist/index.es.js",
"types": "dist/types/index.ts",
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"import": "./dist/index.es.js",
"require": "./dist/index.cjs.js"
}
},
"sideEffects": false,
"scripts": {
"commit": "lint-staged && git-cz -n",
"build": "vite build && npm run build:types",
"build:types": "tsc -p tsconfig.build.json",
"dev": "vite",
"preview": "vite preview",
"prepublishOnly": "npm run build -- --emptyOutDir",
"postpublish": "git push --follow-tags",
"coverage": "vitest run --coverage",
"lint": "eslint --fix src test",
"test": "vitest",
"bench": "vitest bench",
"bench:quick": "vitest bench simple.bench.ts",
"bench:comparison": "vitest bench comparison.bench.ts",
"start": "vitest watch"
},
"repository": {
"type": "git",
"url": "git+https://github.com/wmzy/map-as-lru.git"
},
"keywords": [
"lru",
"cache"
],
"author": "wmzy",
"license": "MIT",
"bugs": {
"url": "https://github.com/wmzy/map-as-lru/issues"
},
"homepage": "https://github.com/wmzy/map-as-lru#readme",
"files": [
"dist",
"src"
],
"lint-staged": {
"*.js": [
"cross-env NODE_ENV=production eslint --fix",
"git add"
]
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"devDependencies": {
"@types/node": "^24.0.3",
"@types/semver": "^7.7.0",
"@vitest/coverage-v8": "^3.2.4",
"commitizen": "^4.3.1",
"cross-env": "^7.0.3",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^9.29.0",
"hashlru": "^2.3.0",
"husky": "^9.1.7",
"lint-staged": "^16.1.2",
"lru-cache": "^11.1.0",
"mnemonist": "^0.40.3",
"quick-lru": "^7.0.1",
"tools-config": "^0.2.3",
"typescript": "^5.8.3",
"vite": "^7.0.0",
"vitest": "^3.2.4"
}
}