-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
89 lines (89 loc) · 2.07 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
80
81
82
83
84
85
86
87
88
89
{
"name": "@eggjs/router",
"version": "3.0.5",
"engines": {
"node": ">= 18.19.0"
},
"publishConfig": {
"access": "public"
},
"description": "Router middleware for egg/koa. Provides RESTful resource routing.",
"repository": {
"type": "git",
"url": "https://github.com/eggjs/egg-router.git"
},
"bugs": {
"url": "https://github.com/eggjs/egg/issues"
},
"author": "eggjs",
"keywords": [
"koa",
"middleware",
"router",
"route"
],
"dependencies": {
"http-errors": "^2.0.0",
"inflection": "^3.0.0",
"is-type-of": "^2.1.0",
"koa-compose": "^4.1.0",
"methods": "^1.1.2",
"path-to-regexp": "^1.1.1",
"urijs": "^1.19.11",
"utility": "^2.1.0"
},
"devDependencies": {
"@eggjs/koa": "^2.18.1",
"@eggjs/tsconfig": "^1.3.3",
"@types/koa-compose": "^3.2.8",
"@types/methods": "^1.1.4",
"@types/mocha": "^10.0.6",
"@types/supertest": "^6.0.2",
"@types/urijs": "^1.19.25",
"egg-bin": "6",
"eslint": "8",
"eslint-config-egg": "13",
"supertest": "^1.0.1",
"tshy": "^3.0.2",
"tshy-after": "^1.0.0",
"typescript": "^5.4.5"
},
"scripts": {
"lint": "eslint src test --ext ts",
"pretest": "npm run lint -- --fix && npm run prepublishOnly",
"test": "egg-bin test",
"test-local": "egg-bin test",
"preci": "npm run lint && npm run prepublishOnly",
"ci": "egg-bin cov",
"prepublishOnly": "tshy && tshy-after",
"bench": "cd bench && make"
},
"license": "MIT",
"files": [
"dist",
"src"
],
"type": "module",
"tshy": {
"exports": {
"./package.json": "./package.json",
".": "./src/index.ts"
}
},
"exports": {
"./package.json": "./package.json",
".": {
"import": {
"types": "./dist/esm/index.d.ts",
"default": "./dist/esm/index.js"
},
"require": {
"types": "./dist/commonjs/index.d.ts",
"default": "./dist/commonjs/index.js"
}
}
},
"main": "./dist/commonjs/index.js",
"types": "./dist/commonjs/index.d.ts",
"module": "./dist/esm/index.js"
}