-
Notifications
You must be signed in to change notification settings - Fork 578
Expand file tree
/
Copy pathpackage.json
More file actions
29 lines (29 loc) · 1.11 KB
/
package.json
File metadata and controls
29 lines (29 loc) · 1.11 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
{
"main": "index.js",
"dependencies": {
"axios": "1.13.6",
"body-parser": "2.2.2",
"cors": "2.8.6",
"express": "5.2.1"
},
"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": {
"@pact-foundation/pact": "16.3.0",
"@pact-foundation/pact-cli": "18.0.0",
"chai": "^4.3.10",
"chai-as-promised": "^7.1.1",
"cross-env": "10.1.0",
"mocha": "11.7.5",
"superagent": "^10.3.0"
}
}