-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
86 lines (86 loc) · 2.6 KB
/
package.json
File metadata and controls
86 lines (86 loc) · 2.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
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
{
"name": "@fetchkit/chaos-proxy",
"version": "3.2.0",
"description": "Proxy and CLI for injecting network chaos (latency, failures, drops, rate-limiting) into API requests. Configurable via YAML.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist",
"bin"
],
"bin": {
"chaos-proxy": "dist/cli.js"
},
"directories": {
"example": "examples"
},
"scripts": {
"build": "tsup",
"lint": "eslint . --ext .ts",
"format": "prettier --write .",
"test": "vitest",
"test:ci": "vitest --run --coverage",
"cli:start": "npm run build && node dist/cli.js",
"test:cli": "npm run cli:start --",
"dev": "ts-node --esm src/index.ts",
"obs:up": "docker compose -f docker/observability/docker-compose.yml up -d",
"obs:down": "docker compose -f docker/observability/docker-compose.yml down --remove-orphans",
"obs:logs": "docker compose -f docker/observability/docker-compose.yml logs -f otel-collector jaeger prometheus grafana",
"obs:ps": "docker compose -f docker/observability/docker-compose.yml ps",
"obs:validate": "docker compose -f docker/observability/docker-compose.yml config",
"obs:reset": "docker compose -f docker/observability/docker-compose.yml down -v --remove-orphans",
"prepare": "husky install",
"prepublishOnly": "npm run build && npm run test:ci"
},
"keywords": [
"proxy",
"chaos",
"testing",
"network",
"typescript",
"cli"
],
"author": "Gabor Koos <gkoos@users.noreply.github.com>",
"repository": {
"type": "git",
"url": "https://github.com/fetch-kit/chaos-proxy.git"
},
"publishConfig": {
"access": "public"
},
"license": "MIT",
"type": "module",
"dependencies": {
"@koa/router": "^14.0.0",
"chaos-proxy": "^1.0.0",
"koa": "^3.0.1",
"koa-bodyparser": "^4.4.1",
"koa-ratelimit": "^6.0.0",
"yaml": "^2.8.1"
},
"devDependencies": {
"@changesets/cli": "^2.29.7",
"@eslint/js": "^9.36.0",
"@types/koa": "^3.0.0",
"@types/koa__router": "^12.0.4",
"@types/koa-bodyparser": "^4.3.12",
"@types/node": "^24.5.2",
"@typescript-eslint/eslint-plugin": "^8.44.0",
"@typescript-eslint/parser": "^8.44.0",
"@vitest/coverage-v8": "^3.2.4",
"@vitest/ui": "^3.2.4",
"eslint": "^9.36.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-prettier": "^5.5.4",
"execa": "^9.6.0",
"globals": "^16.4.0",
"husky": "^8.0.0",
"jiti": "^2.5.1",
"prettier": "^3.6.2",
"ts-node": "^10.9.2",
"tsup": "^8.5.0",
"typescript": "^5.9.2",
"typescript-eslint": "^8.44.0",
"vitest": "^3.2.4"
}
}