-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
44 lines (44 loc) · 1.73 KB
/
package.json
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
{
"name": "@mmurphy/pact-pact-example-provider",
"version": "0.0.1",
"description": "",
"main": "index.js",
"keywords": [],
"author": "",
"license": "UNLICENSED",
"scripts": {
"test": "vitest run",
"test:ui": "vitest --ui",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"generate-client": "bash ./scripts/generate-client.sh /local/spec/openapi.yaml",
"pact:consumer": "rm -rf ./tests/pact/gen/pacts && vitest run --config tests/pact/consumer/vitest.config.mts",
"pact:provider": "cd tests && npx ts-node -r tsconfig-paths/register ./pact/provider/provider-verify.ts",
"pact:publish-consumer": "bash ./scripts/pact/publish-consumer-pact.sh",
"pact:can-i-deploy-provider": "bash ./scripts/pact/can-i-deploy.sh pact-example-provider",
"pact:can-i-deploy-consumer": "bash ./scripts/pact/can-i-deploy.sh pact-example-swagger-codegen",
"pact:release-provider": "bash ./scripts/pact/record-release.sh pact-example-provider",
"pact:release-consumer": "bash ./scripts/pact/record-release.sh pact-example-swagger-codegen",
"build": "tsc",
"dev": "ts-node src/index.ts serve",
"dev:background": "npm run dev &"
},
"engines": {
"node": ">=20.0.0"
},
"devDependencies": {
"@pact-foundation/pact": "^12.3.0",
"@pact-foundation/pact-core": "^14.3.2",
"axios": "^1.6.7",
"ts-node": "^10.9.2",
"ts-node-dev": "^2.0.0",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.3.3",
"vite-tsconfig-paths": "^4.3.1",
"vitest": "^1.4.0",
"vitest-when": "^0.3.1"
},
"dependencies": {
"express": "^4.19.2"
}
}