@jaredwray/mockhttp 1.6.1 → 1.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,90 +1,88 @@
1
1
  {
2
- "name": "@jaredwray/mockhttp",
3
- "version": "1.6.1",
4
- "description": "Mock Http - Easy way to mock http with httpbin replacement",
5
- "type": "module",
6
- "main": "dist/index.mjs",
7
- "types": "dist/index.d.mts",
8
- "packageManager": "pnpm@11.1.3",
9
- "engines": {
10
- "node": ">=22.18.0"
11
- },
12
- "directories": {
13
- "test": "test"
14
- },
15
- "scripts": {
16
- "lint": "biome check --write --error-on-warnings",
17
- "test": "pnpm lint && vitest run --coverage",
18
- "test:ci": "biome check --error-on-warnings && vitest run --coverage",
19
- "dev": "pnpm lint && tsx src/index.ts --watch",
20
- "build": "tsdown src/index.ts --format esm --dts",
21
- "clean": "rimraf ./node_modules ./dist ./coverage DOCKER.md",
22
- "docker:build": "docker build -t jaredwray/mockhttp .",
23
- "docker:run": "docker run -p 3000:3000 jaredwray/mockhttp",
24
- "docker:push": "docker push jaredwray/mockhttp",
25
- "docker:stop": "docker stop $(docker ps -a -q --filter ancestor=jaredwray/mockhttp --format=\"{{.ID}}\")",
26
- "docker:readme": "tsx ./scripts/create-docker-readme.ts",
27
- "docker:compose:up": "docker-compose up -d",
28
- "docker:compose:down": "docker-compose down",
29
- "prepublishOnly": "pnpm run build",
30
- "start": "node dist/index.mjs"
31
- },
32
- "repository": {
33
- "type": "git",
34
- "url": "git+https://github.com/jaredwray/mockhttp.git"
35
- },
36
- "keywords": [
37
- "mock",
38
- "http",
39
- "httpbin",
40
- "testing",
41
- "api",
42
- "fastify",
43
- "docker",
44
- "typescript",
45
- "rest",
46
- "mock-server",
47
- "api-testing",
48
- "development",
49
- "http-testing",
50
- "httpbin-alternative",
51
- "endpoints"
52
- ],
53
- "author": "Jared Wray <me@jaredwray.com>",
54
- "license": "MIT",
55
- "bugs": {
56
- "url": "https://github.com/jaredwray/mockhttp/issues"
57
- },
58
- "homepage": "https://github.com/jaredwray/mockhttp#readme",
59
- "devDependencies": {
60
- "@biomejs/biome": "^2.4.15",
61
- "@swc/core": "^1.15.33",
62
- "@types/html-escaper": "^3.0.4",
63
- "@vitest/coverage-v8": "^4.1.6",
64
- "rimraf": "^6.1.3",
65
- "tsdown": "^0.22.0",
66
- "tsx": "^4.21.0",
67
- "typescript": "6.0.3",
68
- "vitest": "^4.1.6"
69
- },
70
- "dependencies": {
71
- "@fastify/cookie": "^11.0.2",
72
- "@fastify/helmet": "^13.0.2",
73
- "@fastify/rate-limit": "^10.3.0",
74
- "@fastify/static": "^9.1.3",
75
- "@fastify/swagger": "^9.7.0",
76
- "@fastify/swagger-ui": "^5.2.6",
77
- "@scalar/api-reference": "^1.55.3",
78
- "detect-port": "^2.1.0",
79
- "fastify": "^5.8.5",
80
- "hookified": "^2.2.0",
81
- "html-escaper": "^3.0.3",
82
- "pino": "^10.3.1",
83
- "pino-pretty": "^13.1.3"
84
- },
85
- "files": [
86
- "dist",
87
- "public",
88
- "LICENCE"
89
- ]
90
- }
2
+ "name": "@jaredwray/mockhttp",
3
+ "version": "1.8.0",
4
+ "description": "Mock Http - Easy way to mock http with httpbin replacement",
5
+ "type": "module",
6
+ "main": "dist/index.mjs",
7
+ "types": "dist/index.d.mts",
8
+ "engines": {
9
+ "node": ">=22.18.0"
10
+ },
11
+ "directories": {
12
+ "test": "test"
13
+ },
14
+ "repository": {
15
+ "type": "git",
16
+ "url": "git+https://github.com/jaredwray/mockhttp.git"
17
+ },
18
+ "keywords": [
19
+ "mock",
20
+ "http",
21
+ "httpbin",
22
+ "testing",
23
+ "api",
24
+ "fastify",
25
+ "docker",
26
+ "typescript",
27
+ "rest",
28
+ "mock-server",
29
+ "api-testing",
30
+ "development",
31
+ "http-testing",
32
+ "httpbin-alternative",
33
+ "endpoints"
34
+ ],
35
+ "author": "Jared Wray <me@jaredwray.com>",
36
+ "license": "MIT",
37
+ "bugs": {
38
+ "url": "https://github.com/jaredwray/mockhttp/issues"
39
+ },
40
+ "homepage": "https://github.com/jaredwray/mockhttp#readme",
41
+ "devDependencies": {
42
+ "@biomejs/biome": "^2.4.16",
43
+ "@swc/core": "^1.15.41",
44
+ "@types/html-escaper": "^3.0.4",
45
+ "@vitest/coverage-v8": "^4.1.8",
46
+ "rimraf": "^6.1.3",
47
+ "tsdown": "^0.22.2",
48
+ "tsx": "^4.22.4",
49
+ "typescript": "6.0.3",
50
+ "vitest": "^4.1.8"
51
+ },
52
+ "dependencies": {
53
+ "@fastify/cookie": "^11.0.2",
54
+ "@fastify/helmet": "^13.0.2",
55
+ "@fastify/rate-limit": "^11.0.0",
56
+ "@fastify/static": "^9.1.3",
57
+ "@fastify/swagger": "^9.7.0",
58
+ "@fastify/swagger-ui": "^6.0.0",
59
+ "@scalar/api-reference": "^1.59.3",
60
+ "detect-port": "^2.1.0",
61
+ "fastify": "^5.8.5",
62
+ "hookified": "^3.0.0",
63
+ "html-escaper": "^3.0.3",
64
+ "pino": "^10.3.1",
65
+ "pino-pretty": "^13.1.3"
66
+ },
67
+ "files": [
68
+ "dist",
69
+ "public",
70
+ "LICENCE"
71
+ ],
72
+ "scripts": {
73
+ "lint": "biome check --write --error-on-warnings",
74
+ "test": "pnpm lint && vitest run --coverage",
75
+ "test:ci": "biome check --error-on-warnings && vitest run --coverage",
76
+ "dev": "pnpm lint && tsx src/index.ts --watch",
77
+ "build": "tsdown src/index.ts --format esm --dts",
78
+ "clean": "rimraf ./node_modules ./dist ./coverage DOCKER.md",
79
+ "docker:build": "docker build -t jaredwray/mockhttp .",
80
+ "docker:run": "docker run -p 3000:3000 jaredwray/mockhttp",
81
+ "docker:push": "docker push jaredwray/mockhttp",
82
+ "docker:stop": "docker stop $(docker ps -a -q --filter ancestor=jaredwray/mockhttp --format=\"{{.ID}}\")",
83
+ "docker:readme": "tsx ./scripts/create-docker-readme.ts",
84
+ "docker:compose:up": "docker-compose up -d",
85
+ "docker:compose:down": "docker-compose down",
86
+ "start": "node dist/index.mjs"
87
+ }
88
+ }