Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
72 lines (72 loc) · 1.5 KB
/
Copy pathpackage.json
File metadata and controls
72 lines (72 loc) · 1.5 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
{
"name": "@koa/etag",
"version": "5.0.2",
"description": "Koa ETag support middleware",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"require": "./dist/index.js",
"import": "./dist/index.mjs"
}
},
"files": [
"dist",
"LICENSE",
"README.md"
],
"scripts": {
"build": "tsup",
"lint": "xo",
"lint:fix": "xo --fix",
"pretest": "npm run lint",
"test": "jest --detectOpenHandles",
"test-ci": "npm run test -- --coverage",
"prepublishOnly": "npm run build"
},
"keywords": [
"koa",
"middleware",
"cache",
"caching",
"etag",
"file",
"static",
"sendfile"
],
"license": "MIT",
"peerDependencies": {
"koa": ">= 2"
},
"dependencies": {
"@types/etag": "^1.8.3",
"etag": "^1.8.1"
},
"devDependencies": {
"@types/jest": "^30.0.0",
"@types/koa": "^3.0.3",
"@types/lodash.merge": "^4.6.7",
"@types/node": "^26.1.2",
"@types/supertest": "^7.2.1",
"@types/type-is": "^1.6.3",
"eslint-config-xo-lass": "^2.0.1",
"husky": "^9.1.7",
"jest": "^30.4.2",
"koa": "3",
"supertest": "^7.1.1",
"ts-jest": "^29.0.5",
"ts-node": "^10.9.1",
"tsup": "^8.5.0",
"typescript": "^5.0.3",
"xo": "^0.60.0"
},
"enignes": {
"node": ">=18"
},
"repository": "koajs/etag",
"bugs": {
"url": "https://github.com/koajs/etag/issues"
},
"homepage": "https://github.com/koajs/etag#readme"
}