-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
90 lines (90 loc) · 2.38 KB
/
Copy pathpackage.json
File metadata and controls
90 lines (90 loc) · 2.38 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
87
88
89
90
{
"name": "@jaredwray/mockhttp",
"version": "1.8.0",
"description": "Mock Http - Easy way to mock http with httpbin replacement",
"type": "module",
"main": "dist/index.mjs",
"types": "dist/index.d.mts",
"packageManager": "pnpm@11.1.3",
"engines": {
"node": ">=22.18.0"
},
"directories": {
"test": "test"
},
"scripts": {
"lint": "biome check --write --error-on-warnings",
"test": "pnpm lint && vitest run --coverage",
"test:ci": "biome check --error-on-warnings && vitest run --coverage",
"dev": "pnpm lint && tsx src/index.ts --watch",
"build": "tsdown src/index.ts --format esm --dts",
"clean": "rimraf ./node_modules ./dist ./coverage DOCKER.md",
"docker:build": "docker build -t jaredwray/mockhttp .",
"docker:run": "docker run -p 3000:3000 jaredwray/mockhttp",
"docker:push": "docker push jaredwray/mockhttp",
"docker:stop": "docker stop $(docker ps -a -q --filter ancestor=jaredwray/mockhttp --format=\"{{.ID}}\")",
"docker:readme": "tsx ./scripts/create-docker-readme.ts",
"docker:compose:up": "docker-compose up -d",
"docker:compose:down": "docker-compose down",
"prepublishOnly": "pnpm run build",
"start": "node dist/index.mjs"
},
"repository": {
"type": "git",
"url": "git+https://github.com/jaredwray/mockhttp.git"
},
"keywords": [
"mock",
"http",
"httpbin",
"testing",
"api",
"fastify",
"docker",
"typescript",
"rest",
"mock-server",
"api-testing",
"development",
"http-testing",
"httpbin-alternative",
"endpoints"
],
"author": "Jared Wray <me@jaredwray.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/jaredwray/mockhttp/issues"
},
"homepage": "https://github.com/jaredwray/mockhttp#readme",
"devDependencies": {
"@biomejs/biome": "^2.4.16",
"@swc/core": "^1.15.41",
"@types/html-escaper": "^3.0.4",
"@vitest/coverage-v8": "^4.1.8",
"rimraf": "^6.1.3",
"tsdown": "^0.22.2",
"tsx": "^4.22.4",
"typescript": "6.0.3",
"vitest": "^4.1.8"
},
"dependencies": {
"@fastify/cookie": "^11.0.2",
"@fastify/helmet": "^13.0.2",
"@fastify/rate-limit": "^11.0.0",
"@fastify/static": "^9.1.3",
"@fastify/swagger": "^9.7.0",
"@fastify/swagger-ui": "^6.0.0",
"@scalar/api-reference": "^1.59.3",
"detect-port": "^2.1.0",
"fastify": "^5.8.5",
"hookified": "^3.0.0",
"html-escaper": "^3.0.3",
"pino": "^10.3.1",
"pino-pretty": "^13.1.3"
},
"files": [
"dist",
"public",
"LICENCE"
]
}