-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
26 lines (26 loc) · 1.04 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
{
"main": "index.js",
"dependencies": {
"@pact-foundation/pact": "10.4.0",
"@pact-foundation/pact-node": "^10.17.6",
"axios": "1.2.1",
"body-parser": "^1.20.1",
"chai": "^4.3.7",
"chai-as-promised": "^7.1.1",
"cors": "^2.8.5",
"express": "^4.18.2",
"mocha": "^10.2.0",
"superagent": "^8.0.6"
},
"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": "PACT_URL=$PWD/pacts/GettingStartedOrderWeb-GettingStartedOrderApi.json npm run test:consumer && npm run test:provider",
"test:broker": "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'"
}
}