stubsmith 0.0.0-stage → 0.2.1
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/LICENSE +21 -0
- package/README.md +626 -2
- package/dist/cli.js +607 -0
- package/dist/cli.js.map +1 -0
- package/dist/index.cjs +5300 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +806 -0
- package/dist/index.d.ts +806 -0
- package/dist/index.js +5245 -0
- package/dist/index.js.map +1 -0
- package/package.json +65 -4
package/package.json
CHANGED
|
@@ -1,6 +1,67 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "stubsmith",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.2.1",
|
|
4
|
+
"description": "Stubsmith Node.js SDK - instrument outbound HTTP calls, mask in-process, replay as test fixtures",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"main": "./dist/index.cjs",
|
|
8
|
+
"module": "./dist/index.js",
|
|
9
|
+
"types": "./dist/index.d.ts",
|
|
10
|
+
"exports": {
|
|
11
|
+
".": {
|
|
12
|
+
"types": "./dist/index.d.ts",
|
|
13
|
+
"import": "./dist/index.js",
|
|
14
|
+
"require": "./dist/index.cjs"
|
|
15
|
+
},
|
|
16
|
+
"./package.json": "./package.json"
|
|
17
|
+
},
|
|
18
|
+
"bin": {
|
|
19
|
+
"stubsmith": "./dist/cli.js"
|
|
20
|
+
},
|
|
21
|
+
"files": [
|
|
22
|
+
"dist",
|
|
23
|
+
"README.md",
|
|
24
|
+
"LICENSE"
|
|
25
|
+
],
|
|
26
|
+
"engines": {
|
|
27
|
+
"node": ">=22.12"
|
|
28
|
+
},
|
|
29
|
+
"scripts": {
|
|
30
|
+
"build": "tsup",
|
|
31
|
+
"test": "vitest run",
|
|
32
|
+
"test:watch": "vitest",
|
|
33
|
+
"typecheck": "tsc --noEmit",
|
|
34
|
+
"lint": "eslint src test",
|
|
35
|
+
"prepublishOnly": "npm run build"
|
|
36
|
+
},
|
|
37
|
+
"keywords": [
|
|
38
|
+
"testing",
|
|
39
|
+
"http",
|
|
40
|
+
"mocking",
|
|
41
|
+
"fixtures",
|
|
42
|
+
"replay",
|
|
43
|
+
"vcr"
|
|
44
|
+
],
|
|
45
|
+
"repository": {
|
|
46
|
+
"type": "git",
|
|
47
|
+
"url": "git+https://github.com/Stubsmith/stubsmith-node.git"
|
|
48
|
+
},
|
|
49
|
+
"homepage": "https://stubsmith.dev",
|
|
50
|
+
"bugs": {
|
|
51
|
+
"url": "https://github.com/Stubsmith/stubsmith-node/issues"
|
|
52
|
+
},
|
|
53
|
+
"devDependencies": {
|
|
54
|
+
"@types/node": "^22",
|
|
55
|
+
"@types/superagent": "^8.1.11",
|
|
56
|
+
"axios": "^1.20.0",
|
|
57
|
+
"eslint": "^9",
|
|
58
|
+
"got": "^13.0.0",
|
|
59
|
+
"node-fetch": "^3.3.2",
|
|
60
|
+
"superagent": "^10.4.1",
|
|
61
|
+
"tsup": "^9",
|
|
62
|
+
"typescript": "^5",
|
|
63
|
+
"typescript-eslint": "^8",
|
|
64
|
+
"vite": "^8",
|
|
65
|
+
"vitest": "^5"
|
|
66
|
+
}
|
|
67
|
+
}
|