-
Notifications
You must be signed in to change notification settings - Fork 31
/
Copy pathpackage.json
136 lines (136 loc) · 3.36 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
{
"name": "@eggjs/mock",
"version": "6.0.5",
"publishConfig": {
"access": "public"
},
"eggPlugin": {
"name": "egg-mock",
"exports": {
"import": "./dist/esm",
"require": "./dist/commonjs"
}
},
"description": "mock server plugin for egg",
"homepage": "https://github.com/eggjs/mock",
"repository": {
"type": "git",
"url": "git+https://github.com/eggjs/mock.git"
},
"bugs": {
"url": "https://github.com/eggjs/egg/issues"
},
"keywords": [
"egg",
"mock"
],
"author": "popomore <sakura9515@gmail.com>",
"engines": {
"node": ">= 18.19.0"
},
"dependencies": {
"@eggjs/core": "^6.2.11",
"@eggjs/supertest": "^8.1.0",
"@eggjs/utils": "^4.0.3",
"coffee": "^5.2.1",
"detect-port": "^2.1.0",
"egg-logger": "^3.5.0",
"extend2": "^4.0.0",
"get-ready": "^3.4.0",
"globby": "^11.1.0",
"is-type-of": "^2.2.0",
"merge-descriptors": "^2.0.0",
"mm": "^4.0.1",
"sdk-base": "^5.0.0",
"urllib": "^4.6.11",
"utility": "^2.3.0"
},
"peerDependencies": {
"mocha": "^10 || ^11"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.17.1",
"@eggjs/bin": "^7.0.0",
"@eggjs/tegg": "^3.2.2",
"@eggjs/tegg-config": "^3.2.2",
"@eggjs/tegg-controller-plugin": "^3.2.2",
"@eggjs/tegg-plugin": "^3.2.2",
"@eggjs/tsconfig": "1",
"@types/methods": "^1.1.4",
"@types/mocha": "10",
"@types/node": "22",
"egg": "beta",
"egg-errors": "^2.2.1",
"egg-tracer": "^2.0.0",
"eslint": "8",
"eslint-config-egg": "14",
"mocha": "^11.0.1",
"pedding": "^2.0.0",
"rimraf": "6",
"tsd": "^0.31.2",
"tshy": "3",
"tshy-after": "^1.3.1",
"typescript": "5"
},
"scripts": {
"clean": "rimraf dist",
"lint": "eslint --cache src test --ext .ts",
"pretest": "npm run clean && npm run lint -- --fix && npm run prepublishOnly",
"test": "egg-bin test",
"posttest": "npm run clean",
"test-local": "egg-bin test",
"preci": "npm run clean && npm run lint && npm run prepublishOnly",
"ci": "egg-bin test",
"postci": "npm run clean",
"prepublishOnly": "tshy && tshy-after && attw --pack --profile node16"
},
"type": "module",
"tshy": {
"exports": {
".": "./src/index.ts",
"./bootstrap": "./src/bootstrap.ts",
"./register": "./src/register.ts",
"./package.json": "./package.json"
}
},
"exports": {
".": {
"import": {
"types": "./dist/esm/index.d.ts",
"default": "./dist/esm/index.js"
},
"require": {
"types": "./dist/commonjs/index.d.ts",
"default": "./dist/commonjs/index.js"
}
},
"./bootstrap": {
"import": {
"types": "./dist/esm/bootstrap.d.ts",
"default": "./dist/esm/bootstrap.js"
},
"require": {
"types": "./dist/commonjs/bootstrap.d.ts",
"default": "./dist/commonjs/bootstrap.js"
}
},
"./register": {
"import": {
"types": "./dist/esm/register.d.ts",
"default": "./dist/esm/register.js"
},
"require": {
"types": "./dist/commonjs/register.d.ts",
"default": "./dist/commonjs/register.js"
}
},
"./package.json": "./package.json"
},
"files": [
"dist",
"src"
],
"types": "./dist/commonjs/index.d.ts",
"main": "./dist/commonjs/index.js",
"module": "./dist/esm/index.js"
}