Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
100 lines (100 loc) · 2.46 KB
/
Copy pathpackage.json
File metadata and controls
100 lines (100 loc) · 2.46 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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
{
"name": "@eggjs/koa",
"version": "3.0.1",
"engines": {
"node": ">= 22.18.0"
},
"publishConfig": {
"access": "public"
},
"description": "Koa web app framework for https://eggjs.org",
"scripts": {
"pretest": "npm run lint -- --fix",
"test": "node --test --test-force-exit --test-update-snapshots",
"preci": "npm run lint",
"ci": "c8 -r html -r lcov -r text npm test",
"postci": "npm run prepublishOnly",
"lint": "oxlint",
"prepublishOnly": "npm run clean && npm run build",
"build": "tsc --build",
"clean": "tsc --build --clean",
"prepare": "husky"
},
"lint-staged": {
"*": "prettier --write --ignore-unknown --cache",
"*.{ts,js,json,md,yml}": [
"prettier --ignore-unknown --write",
"oxlint --fix"
]
},
"repository": {
"type": "git",
"url": "git@github.com:eggjs/koa.git"
},
"keywords": [
"web",
"app",
"http",
"application",
"framework",
"middleware",
"rack"
],
"license": "MIT",
"dependencies": {
"@types/content-disposition": "^0.5.8",
"accepts": "^1.3.8",
"cache-content-type": "^2.0.0",
"content-disposition": "~0.5.4",
"content-type": "^1.0.5",
"cookies": "^0.9.1",
"destroy": "^1.0.4",
"encodeurl": "^1.0.2",
"escape-html": "^1.0.3",
"fresh": "~0.5.2",
"gals": "^1.0.1",
"http-errors": "^2.0.0",
"is-type-of": "^2.1.0",
"koa-compose": "^4.1.0",
"on-finished": "^2.4.1",
"parseurl": "^1.3.3",
"statuses": "^2.0.1",
"type-is": "^1.6.18",
"vary": "^1.1.2"
},
"devDependencies": {
"@eggjs/oxlint-config": "^1.0.0",
"@eggjs/tsconfig": "^3.0.0",
"@types/accepts": "^1.3.7",
"@types/content-type": "^1.1.8",
"@types/cookies": "^0.9.0",
"@types/destroy": "^1.0.3",
"@types/encodeurl": "^1.0.2",
"@types/escape-html": "^1.0.4",
"@types/fresh": "^0.5.2",
"@types/http-errors": "^2.0.4",
"@types/koa-compose": "^3.2.8",
"@types/node": "24",
"@types/on-finished": "^2.3.4",
"@types/parseurl": "^1.3.3",
"@types/statuses": "^2.0.5",
"@types/supertest": "^6.0.2",
"@types/type-is": "^1.6.6",
"@types/vary": "^1.1.3",
"c8": "^10.1.3",
"husky": "9",
"lint-staged": "15",
"mm": "^4.0.1",
"oxlint": "^1.11.0",
"prettier": "3",
"supertest": "^3.1.0",
"typescript": "^5.8.3"
},
"type": "module",
"exports": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist",
"src"
]
}