-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Expand file tree
/
Copy pathpackage.json
More file actions
57 lines (57 loc) · 1.6 KB
/
package.json
File metadata and controls
57 lines (57 loc) · 1.6 KB
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
{
"name": "helloworld-typescript",
"version": "1.0.0",
"private": true,
"description": "Hello World example using TypeScript",
"type": "module",
"exports": {
"./app": "./app.ts",
"./app/controller/home": "./app/controller/home.ts",
"./app/middleware/hello": "./app/middleware/hello.ts",
"./app/router": "./app/router.ts",
"./config/config.default": "./config/config.default.ts",
"./package.json": "./package.json"
},
"publishConfig": {
"exports": {
"./app": "./dist/app.js",
"./app/controller/home": "./dist/app/controller/home.js",
"./app/middleware/hello": "./dist/app/middleware/hello.js",
"./app/router": "./dist/app/router.js",
"./config/config.default": "./dist/config/config.default.js",
"./package.json": "./package.json"
}
},
"scripts": {
"dev": "egg-bin dev",
"debug": "egg-bin debug",
"test": "vite test run",
"cov": "vite test run --coverage",
"lint": "eslint . --ext .ts",
"ci": "pnpm run lint && pnpm run cov",
"prepublishOnly": "pnpm run build",
"start": "egg-scripts start --daemon",
"stop": "egg-scripts stop",
"typecheck": "tsgo --noEmit",
"build": "vite lib"
},
"dependencies": {
"@eggjs/scripts": "workspace:",
"@eggjs/tracer": "workspace:*",
"egg": "workspace:*"
},
"devDependencies": {
"@eggjs/bin": "workspace:*",
"@eggjs/mock": "workspace:*",
"@eggjs/tsconfig": "workspace:*",
"typescript": "catalog:",
"vitest": "catalog:",
"vite-plus": "catalog:"
},
"engines": {
"node": ">=22.18.0"
},
"egg": {
"typescript": true
}
}