-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
69 lines (69 loc) · 2.45 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
{
"name": "@couriourc/simple-mock",
"version": "0.0.3",
"module": "index.ts",
"type": "module",
"keywords": [
"bun",
"elysiajs",
"mockjs",
"mustache"
],
"devDependencies": {
"@happy-dom/global-registrator": "^15.7.3",
"@types/bun": "latest",
"@types/dotenv": "^8.2.0",
"@types/mustache": "^4.2.5",
"@types/node": "^22.5.4",
"@types/underscore": "^1.11.15",
"chalk": "^5.3.0"
},
"bin": {
"sm": "./dist/SimpleMockServer-windows-x64.exe"
},
"files": [
"dist/**/*",
"src/**/*"
],
"exports": {
"import": {
"default": "./src/exporter/index.ts",
"types": "./src/exporter/index.ts"
}
},
"scripts": {
"build:win-x64": "bun build --minify --compile --target=bun-windows-x64 index.ts --outfile dist/SimpleMockServer-windows-x64",
"build:linux-x64": "bun build --minify --compile --target=bun-linux-x64 index.ts --outfile dist/SimpleMockServer-linux-x64",
"build:linux-x64-baseline": "bun build --minify --compile --target=bun-linux-x64-baseline index.ts --outfile dist/SimpleMockServer-linux-x64-baseline",
"build:linux-arm64": "bun build --minify --compile --target=bun-linux-x64-arm64 index.ts --outfile dist/SimpleMockServer-linux-x64-arm64",
"build:darwin-arm64": "bun build --minify --compile --target=bun-darwin-arm64 index.ts --outfile dist/SimpleMockServer-darwin-arm64z",
"build:darwin-x64": "bun build --minify --compile --target=bun-darwin-x64 index.ts --outfile dist/SimpleMockServer-darwin-x64",
"build:all": "bun run build:win-x64 && bun run build:linux-x64 && bun run build:linux-x64-baseline && bun run build:linux-arm64 && bun run build:darwin-arm64 && bun run build:darwin-x64",
"build": "cross-env NODE_ENV=production bun run build:win-x64",
"dev": "cross-env NODE_ENV=development bun --watch run index.ts",
"serve": "bun run index.ts",
"clean": "pnpx rimraf dist"
},
"peerDependencies": {
"typescript": "^5.0.0"
},
"dependencies": {
"@elysiajs/cors": "^1.1.1",
"@elysiajs/static": "^1.1.1",
"@elysiajs/swagger": "^1.1.1",
"@grotto/logysia": "^0.1.4",
"@ptkdev/logger": "^1.8.0",
"@types/mockjs": "^1.0.10",
"c-log": "^0.0.3",
"commander": "^12.1.0",
"console-table-printer": "^2.12.1",
"cross-env": "^7.0.3",
"dotenv": "^16.4.5",
"elysia": "^1.1.12",
"mockjs": "^1.1.0",
"mustache": "^4.2.0",
"normalize-url": "^8.0.1",
"underscore": "^1.13.7",
"yaml": "^2.5.1"
}
}