-
Notifications
You must be signed in to change notification settings - Fork 54
/
Copy pathpackage.json
122 lines (122 loc) · 3.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
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
{
"name": "@eggjs/bin",
"version": "7.0.2",
"publishConfig": {
"access": "public"
},
"description": "egg developer tool",
"repository": {
"type": "git",
"url": "git@github.com:eggjs/bin.git"
},
"bug": {
"url": "https://github.com/eggjs/egg/issues"
},
"homepage": "https://github.com/eggjs/bin",
"author": "fengmk2 <fengmk2@gmail.com> (https://github.com/fengmk2)",
"engines": {
"node": ">= 18.19.0"
},
"dependencies": {
"@eggjs/utils": "^4.2.0",
"@oclif/core": "^4.2.0",
"@types/mocha": "^10.0.10",
"@types/supertest": "^6.0.2",
"c8": "^10.0.0",
"detect-port": "^2.0.0",
"egg-ts-helper": "^2.1.0",
"globby": "^11.1.0",
"jest-changed-files": "^29.4.2",
"mocha": "^11.0.1",
"mochawesome-with-mocha": "^7.1.3",
"runscript": "^2.0.0",
"ts-node": "^10.9.2",
"tsconfig-paths": "^4.1.2",
"utility": "^2.4.0"
},
"peerDependencies": {
"@eggjs/mock": "6"
},
"peerDependenciesMeta": {
"@eggjs/mock": {
"optional": true
}
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.17.1",
"@eggjs/mock": "6",
"@eggjs/tsconfig": "1",
"@swc-node/register": "^1.6.1",
"@swc/core": "^1.3.35",
"@types/node": "22",
"assert-file": "^1.0.0",
"coffee": "^5.5.1",
"cpy": "^8.1.2",
"cpy-cli": "^5.0.0",
"cross-env": "^7.0.3",
"egg": "beta",
"esbuild": "^0.17.7",
"esbuild-register": "^3.4.2",
"eslint": "8",
"eslint-config-egg": "14",
"npminstall": "^7.12.0",
"rimraf": "6",
"supertest": "^7.0.0",
"tshy": "3",
"tshy-after": "1",
"typescript": "5"
},
"scripts": {
"postinstall-skip": "node scripts/postinstall.mjs",
"lint": "eslint --cache src test --ext .ts",
"pretest": "npm run clean && npm run lint -- --fix && npm run prepublishOnly",
"test": "node bin/run.js test",
"cov": "c8 --temp-directory node_modules/.c8_output -r text-summary -r json-summary -r json -r lcov -r cobertura node bin/run.js test",
"preci": "npm run clean && npm run lint && npm run prepublishOnly",
"ci": "npm run cov",
"clean": "rimraf dist",
"copyScripts": "rimraf dist/scripts && cpy scripts dist",
"prepublishOnly": "tshy && tshy-after && attw --pack && npm run copyScripts"
},
"type": "module",
"tshy": {
"exports": {
".": "./src/index.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"
}
},
"./package.json": "./package.json"
},
"files": [
"bin",
"dist",
"src",
"scripts"
],
"bin": {
"egg-bin": "./bin/run.js"
},
"types": "./dist/commonjs/index.d.ts",
"main": "./dist/commonjs/index.js",
"module": "./dist/esm/index.js",
"oclif": {
"bin": "egg-bin",
"commands": "./dist/esm/commands",
"dirname": "egg-bin",
"topicSeparator": " ",
"additionalHelpFlags": [
"-h"
]
}
}