-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
/
Copy pathpackage.json
161 lines (161 loc) · 4.08 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
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
{
"name": "egg",
"version": "4.0.0",
"engines": {
"node": ">= 18.19.0"
},
"publishConfig": {
"tag": "beta"
},
"description": "A web application framework for Node.js",
"keywords": [
"web",
"app",
"http",
"application",
"framework",
"middleware",
"koa",
"egg"
],
"dependencies": {
"@eggjs/cluster": "^3.0.0",
"@eggjs/cookies": "^3.0.0",
"@eggjs/core": "^6.2.13",
"@eggjs/development": "^4.0.0",
"@eggjs/i18n": "^3.0.1",
"@eggjs/jsonp": "^3.0.0",
"@eggjs/schedule": "^5.0.2",
"@eggjs/static": "^3.0.0",
"@eggjs/utils": "^4.2.4",
"@eggjs/watcher": "^4.0.3",
"circular-json-for-egg": "^1.0.0",
"cluster-client": "^3.7.0",
"egg-errors": "^2.3.1",
"egg-logger": "^3.6.0",
"egg-logrotator": "^3.1.0",
"egg-multipart": "^3.1.0",
"egg-onerror": "^2.1.1",
"egg-security": "^3.0.0",
"egg-session": "^3.3.0",
"egg-view": "^2.1.3",
"extend2": "^4.0.0",
"graceful": "^2.0.0",
"humanize-ms": "^2.0.0",
"is-type-of": "^2.1.0",
"koa-bodyparser": "^4.4.1",
"koa-override": "^4.0.0",
"onelogger": "^1.0.1",
"performance-ms": "^1.1.0",
"sendmessage": "^3.0.1",
"urllib": "^4.6.11",
"utility": "^2.1.0",
"ylru": "^1.3.2"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.17.1",
"@eggjs/bin": "^7.0.0",
"@eggjs/koa": "^2.19.1",
"@eggjs/mock": "^6.0.5",
"@eggjs/supertest": "^8.1.1",
"@eggjs/tsconfig": "1",
"@types/koa-bodyparser": "^4.3.12",
"@types/mocha": "^10.0.7",
"@types/ms": "^0.7.34",
"@types/node": "22",
"address": "2",
"assert-file": "1",
"coffee": "5",
"cross-env": "7",
"dumi": "^2.4.17",
"egg-plugin-puml": "^2.4.0",
"egg-tracer": "^2.1.0",
"egg-view-nunjucks": "^2.3.0",
"eslint": "8",
"eslint-config-egg": "14",
"formstream": "^1.5.1",
"koa-static": "^5.0.0",
"mm": "^3.4.0",
"pedding": "^2.0.1",
"prettier": "^2.7.1",
"rimraf": "6",
"runscript": "^2.0.1",
"sdk-base": "^4.2.1",
"spy": "^1.0.0",
"tsd": "^0.31.2",
"tshy": "^3.0.2",
"tshy-after": "1",
"typescript": "5"
},
"scripts": {
"clean": "rimraf dist",
"lint": "eslint src test --ext .ts",
"pretest": "npm run clean && npm run lint -- --fix",
"test": "egg-bin test",
"test-local": "egg-bin test",
"test:changed": "egg-bin test --changed",
"preci": "npm run clean && npm run lint",
"ci": "egg-bin cov",
"postci": "npm run prepublishOnly && npm run clean",
"prepublishOnly": "tshy && tshy-after && attw --pack --profile node16",
"site:dev": "cross-env APP_ROOT=./site dumi dev",
"site:build": "cross-env APP_ROOT=./site dumi build",
"site:prettier": "prettier --config site/.prettierrc --ignore-path site/.prettierignore --write \"site/**/*.{js,jsx,tsx,ts,less,md,json}\"",
"puml": "puml . --dest ./site"
},
"homepage": "https://github.com/eggjs/egg",
"repository": {
"type": "git",
"url": "git://github.com/eggjs/egg.git"
},
"license": "MIT",
"tnpm": {
"mode": "npm"
},
"egg": {
"framework": true,
"exports": {
"import": "./dist/esm",
"require": "./dist/commonjs",
"typescript": "./src"
}
},
"files": [
"dist",
"src"
],
"type": "module",
"tshy": {
"exports": {
".": "./src/index.ts",
"./urllib": "./src/urllib.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"
}
},
"./urllib": {
"import": {
"types": "./dist/esm/urllib.d.ts",
"default": "./dist/esm/urllib.js"
},
"require": {
"types": "./dist/commonjs/urllib.d.ts",
"default": "./dist/commonjs/urllib.js"
}
},
"./package.json": "./package.json"
},
"types": "./dist/commonjs/index.d.ts",
"main": "./dist/commonjs/index.js",
"module": "./dist/esm/index.js"
}