-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
128 lines (128 loc) · 7.02 KB
/
Copy pathpackage.json
File metadata and controls
128 lines (128 loc) · 7.02 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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
{
"name": "@techspokes/typescript-wsdl-client",
"version": "1.0.6",
"description": "Turn legacy WSDL/SOAP services into typed TypeScript clients, OpenAPI 3.1 specs, and production-ready Fastify REST gateways. Built for enterprise SOAP modernization.",
"keywords": [
"wsdl",
"soap",
"typescript",
"openapi",
"rest",
"gateway",
"fastify",
"codegen",
"soap-to-rest",
"api-gateway",
"code-generator",
"wsdl-to-typescript",
"soap-modernization",
"wsdl-parser",
"soap-to-rest-bridge",
"legacy-api"
],
"homepage": "https://github.com/TechSpokes/typescript-wsdl-client#readme",
"bugs": {
"url": "https://github.com/TechSpokes/typescript-wsdl-client/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/TechSpokes/typescript-wsdl-client.git"
},
"license": "MIT",
"author": "TechSpokes <contact@techspokes.com> (https://www.techspokes.com)",
"contributors": [
"Serge Liatko <contact@techspokes.com> (https://github.com/sergeliatko)"
],
"type": "module",
"engines": {
"node": ">=24.0.0"
},
"bin": {
"wsdl-tsc": "dist/cli.js"
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
},
"files": [
"dist/**/*.js",
"dist/**/*.d.ts",
"dist/**/*.d.ts.map",
"docs",
"README.md",
"LICENSE",
"llms.txt",
"src/runtime/*.ts",
"src/runtime/*.tpl.txt"
],
"scripts": {
"dev": "tsx src/cli.ts",
"watch": "tsx watch src/cli.ts",
"clean": "rimraf dist",
"clean:tmp": "rimraf tmp",
"build": "tsc -p tsconfig.json",
"typecheck": "tsc --noEmit",
"test": "vitest run",
"test:unit": "vitest run test/unit",
"test:snap": "vitest run test/snapshot",
"test:integration": "vitest run test/integration",
"test:github": "vitest run test/unit test/snapshot test/integration",
"test:conformance": "vitest run test/conformance --reporter=verbose",
"test:conformance:contracts": "vitest run --config vitest.conformance.config.ts test/conformance/stages/contracts.stage.ts --reporter=verbose",
"test:conformance:compile": "vitest run --config vitest.conformance.config.ts test/conformance/stages/compile.stage.ts --reporter=verbose",
"test:conformance:client": "vitest run --config vitest.conformance.config.ts test/conformance/stages/client.stage.ts --reporter=verbose",
"test:conformance:openapi": "vitest run --config vitest.conformance.config.ts test/conformance/stages/openapi.stage.ts --reporter=verbose",
"test:conformance:gateway": "vitest run --config vitest.conformance.config.ts test/conformance/stages/gateway.stage.ts --reporter=verbose",
"test:conformance:generated-tests": "vitest run --config vitest.conformance.config.ts test/conformance/stages/generated-tests.stage.ts --reporter=verbose",
"test:conformance:app": "vitest run --config vitest.conformance.config.ts test/conformance/stages/app.stage.ts --reporter=verbose",
"test:watch": "vitest",
"prepublishOnly": "npm run clean && npm run build && npm run package:validate",
"smoke:reset": "rimraf tmp/smoke",
"smoke:compile": "npm run smoke:reset && tsx src/cli.ts compile --wsdl-source examples/minimal/weather.wsdl --catalog-file tmp/smoke/catalog.json",
"smoke:client": "npm run smoke:reset && tsx src/cli.ts client --wsdl-source examples/minimal/weather.wsdl --client-dir tmp/smoke/client && tsc -p tsconfig.smoke.json",
"smoke:openapi": "npm run smoke:reset && tsx src/cli.ts openapi --wsdl-source examples/minimal/weather.wsdl --openapi-file tmp/smoke/openapi.json --openapi-format json && tsc -p tsconfig.smoke.json",
"smoke:gateway": "npm run smoke:reset && tsx src/cli.ts client --wsdl-source examples/minimal/weather.wsdl --client-dir tmp/smoke/client && tsx src/cli.ts openapi --catalog-file tmp/smoke/client/catalog.json --openapi-file tmp/smoke/openapi.json --openapi-format json && tsx src/cli.ts gateway --openapi-file tmp/smoke/openapi.json --client-dir tmp/smoke/client --gateway-dir tmp/smoke/gateway --gateway-service-name weather --gateway-version-prefix v1 && tsc -p tsconfig.smoke.json",
"smoke:pipeline": "npm run smoke:reset && tsx src/cli.ts pipeline --wsdl-source examples/minimal/weather.wsdl --client-dir tmp/smoke/client --openapi-file tmp/smoke/openapi.json --gateway-dir tmp/smoke/gateway --gateway-service-name weather --gateway-version-prefix v1 --openapi-format json --init-app && tsc -p tsconfig.smoke.json",
"smoke:app": "npm run smoke:reset && tsx src/cli.ts pipeline --wsdl-source examples/minimal/weather.wsdl --client-dir tmp/smoke/client --openapi-file tmp/smoke/openapi.json --gateway-dir tmp/smoke/gateway --gateway-service-name weather --gateway-version-prefix v1 --openapi-format json --openapi-servers https://example.com/api && tsx src/cli.ts app --client-dir tmp/smoke/client --gateway-dir tmp/smoke/gateway --openapi-file tmp/smoke/openapi.json --app-dir tmp/smoke/app --port 8080 && tsc -p tsconfig.smoke.json",
"maint:deps": "node scripts/maint-deps.mjs",
"docs:support-matrix": "tsx scripts/generate-support-matrix.ts",
"docs:support-matrix:check": "tsx scripts/generate-support-matrix.ts --check",
"docs:validate": "node scripts/validate-docs.mjs && npm run docs:support-matrix:check",
"skill:validate": "node scripts/validate-agent-skill.mjs",
"skill:package": "node scripts/build-agent-skill.mjs",
"package:validate": "node scripts/validate-npm-package.mjs",
"release:preflight": "node scripts/release-preflight.mjs",
"release:publish-check": "npm run clean && npm run build && npm run typecheck && npm run skill:validate && npm run package:validate",
"ci": "npm run clean && npm run build && npm run typecheck && npm run skill:validate && npm run package:validate && npm run docs:validate && vitest run && npm run smoke:pipeline",
"ci:github": "npm run clean && npm run build && npm run typecheck && npm run skill:validate && npm run package:validate && npm run docs:validate && npm run test:github && npm run smoke:pipeline",
"ci:github:node26": "npm run clean && npm run build && npm run typecheck && npm run test:unit && npm run smoke:pipeline",
"examples:regenerate": "tsx src/cli.ts pipeline --wsdl-source examples/minimal/weather.wsdl --client-dir examples/generated-output/client --openapi-file examples/generated-output/openapi.json --gateway-dir examples/generated-output/gateway --gateway-service-name weather --gateway-version-prefix v1 --openapi-format json"
},
"devDependencies": {
"@types/js-yaml": "^4.0.9",
"@types/node": "^26.4.0",
"@types/yargs": "^17.0.35",
"fastify": "^5.12.1",
"fastify-plugin": "^6.0.0",
"rimraf": "^6.1.3",
"tsx": "^4.23.12",
"typescript": "^6.0.3",
"vitest": "^4.1.11"
},
"dependencies": {
"@apidevtools/swagger-parser": "^12.1.0",
"fast-xml-parser": "^5.11.1",
"js-yaml": "^5.4.1",
"saxes": "^6.0.0",
"soap": "^1.11.0",
"yargs": "^18.1.0"
},
"funding": {
"type": "github",
"url": "https://github.com/sponsors/TechSpokes"
}
}