pactest/package.json
Sander Hautvast 9e8b0de006
Some checks failed
test / Test completion check (push) Has been cancelled
test / test (20, macos-latest) (push) Has been cancelled
test / test (20, ubuntu-latest) (push) Has been cancelled
test / test (20, windows-latest) (push) Has been cancelled
test / test (22, macos-latest) (push) Has been cancelled
test / test (22, ubuntu-latest) (push) Has been cancelled
test / test (22, windows-latest) (push) Has been cancelled
test / test (24, macos-latest) (push) Has been cancelled
test / test (24, ubuntu-latest) (push) Has been cancelled
test / test (24, windows-latest) (push) Has been cancelled
Initial commit
2025-09-03 11:48:59 +02:00

28 lines
1.1 KiB
JSON

{
"main": "index.js",
"dependencies": {
"axios": "1.10.0",
"body-parser": "^2.0.0",
"cors": "^2.8.5",
"express": "^5.0.0"
},
"scripts": {
"intro": "cat package.json | jq .scripts",
"preintro": "npm install",
"test:consumer": "node runConsumerTest.js",
"test:provider": "node runProviderTest.js",
"pact:publish": "./publish.sh",
"pact:show": "cat pacts/GettingStartedOrderWeb-GettingStartedOrderApi.json | jq .",
"test": "cross-env PACT_URL=$PWD/pacts/GettingStartedOrderWeb-GettingStartedOrderApi.json npm run test:consumer && npm run test:provider",
"test:broker": "cross-env PACT_BROKER_BASE_URL=https://pactbroker.$REPL_OWNER.repl.co npm run test:consumer && npm run pact:publish && npm run test:provider",
"get:broker": "echo 'fork a copy of https://replit.com/@pact/pactbroker and run npm test:broker when it has started'"
},
"devDependencies": {
"cross-env": "^7.0.3",
"@pact-foundation/pact": "15.0.1",
"mocha": "^11.0.0",
"superagent": "^10.0.0",
"chai": "^5.0.0",
"chai-as-promised": "^7.1.1"
}
}