-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
72 lines (72 loc) · 1.57 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
{
"name": "egg-path-matching",
"version": "2.1.0",
"engine": {
"node": ">= 18.19.0"
},
"description": "match or ignore url path",
"scripts": {
"lint": "eslint src test",
"test": "npm run lint -- --fix && npm run test-local",
"test-local": "egg-bin test",
"ci": "npm run lint && egg-bin cov && npm run prepublishOnly",
"prepublishOnly": "tshy && tshy-after"
},
"keywords": [
"url",
"match",
"ignore"
],
"author": {
"name": "dead-horse",
"email": "[email protected]",
"url": "http://deadhorse.me"
},
"repository": {
"type": "git",
"url": "[email protected]:eggjs/egg-path-matching"
},
"license": "MIT",
"dependencies": {
"path-to-regexp": "^6.3.0"
},
"devDependencies": {
"@eggjs/tsconfig": "1",
"@types/mocha": "10",
"@types/node": "20",
"egg-bin": "6",
"eslint": "8",
"eslint-config-egg": "13",
"tshy": "1",
"tshy-after": "1",
"typescript": "5"
},
"files": [
"dist",
"src"
],
"type": "module",
"tshy": {
"exports": {
"./package.json": "./package.json",
".": "./src/index.ts"
}
},
"exports": {
"./package.json": "./package.json",
".": {
"import": {
"source": "./src/index.ts",
"types": "./dist/esm/index.d.ts",
"default": "./dist/esm/index.js"
},
"require": {
"source": "./src/index.ts",
"types": "./dist/commonjs/index.d.ts",
"default": "./dist/commonjs/index.js"
}
}
},
"main": "./dist/commonjs/index.js",
"types": "./dist/commonjs/index.d.ts"
}