mockserver-client
Version:
A node client for the MockServer
82 lines (81 loc) • 2.97 kB
JSON
{
"name": "mockserver-client",
"description": "A node client for the MockServer",
"version": "7.4.0",
"homepage": "http://mock-server.com",
"author": {
"name": "James Bloom",
"email": "jamesdbloom@gmail.com",
"url": "http://mock-server.com"
},
"repository": {
"type": "git",
"url": "https://github.com/mock-server/mockserver-monorepo.git",
"directory": "mockserver-client-node"
},
"bugs": {
"url": "https://github.com/mock-server/mockserver-monorepo/issues"
},
"license": "Apache-2.0",
"engines": {
"node": ">= 14.17.0"
},
"files": [
"README.md",
"LICENSE.md",
"index.js",
"index.d.ts",
"llm.js",
"llm.d.ts",
"mcpMockBuilder.js",
"mcpMockBuilder.d.ts",
"a2aMockBuilder.js",
"a2aMockBuilder.d.ts",
"mockServer.d.ts",
"mockServerClient.js",
"mockServerClient.d.ts",
"setupMockServer.js",
"setupMockServer.d.ts",
"sendRequest.js",
"webSocketClient.js"
],
"scripts": {
"typecheck": "tsc",
"pretest": "npm run typecheck",
"test": "node test/run_with_local_server.js",
"test:external": "node --test --test-force-exit --test-concurrency=1 test/no_proxy/roundtrip_fidelity_identity_test.js test/no_proxy/scenario_helper_test.js test/no_proxy/class_callback_test.js test/no_proxy/when_dsl_test.js test/no_proxy/dispose_test.js test/no_proxy/llm_builder_test.js test/no_proxy/mcp_mock_builder_test.js test/no_proxy/a2a_mock_builder_test.js test/no_proxy/sre_slo_chaos_test.js test/no_proxy/drift_test.js test/no_proxy/mock_server_node_client_test.js test/with_proxy/proxy_client_node_test.js",
"test:coverage": "c8 --check-coverage --lines 68 --functions 83 --branches 74 node --test --test-force-exit --test-concurrency=1 test/no_proxy/roundtrip_fidelity_identity_test.js test/no_proxy/scenario_helper_test.js test/no_proxy/class_callback_test.js test/no_proxy/when_dsl_test.js test/no_proxy/dispose_test.js test/no_proxy/llm_builder_test.js test/no_proxy/mcp_mock_builder_test.js test/no_proxy/a2a_mock_builder_test.js test/no_proxy/sre_slo_chaos_test.js test/no_proxy/drift_test.js test/no_proxy/mock_server_node_client_test.js test/with_proxy/proxy_client_node_test.js",
"test:browser": "npx playwright test --config test/browser/playwright.config.js",
"build:server": "cd ../mockserver && ./mvnw -q -pl mockserver-netty -am package -DskipTests"
},
"devDependencies": {
"@playwright/test": "^1.60.0",
"@types/node": "~26.1.0",
"c8": "~11.0.0",
"grunt-contrib-jshint": "~3.2.0",
"grunt-exec": "~3.0.0",
"mockserver-node": "7.4.0",
"typescript": "~6.0.3"
},
"keywords": [
"mockserver",
"mock",
"HTTP",
"HTTPS",
"testing",
"proxy",
"api",
"mcp",
"ai",
"client"
],
"dependencies": {
"browser-or-node": "~3.0.0",
"q": "~2.0.3",
"websocket": "~1.0.34"
},
"overrides": {
"uuid": "^11.1.1",
"js-yaml": "^4.2.0"
}
}