This repository was archived by the owner on Mar 23, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 74
Expand file tree
/
Copy pathpackage.json
More file actions
27 lines (27 loc) · 1.35 KB
/
package.json
File metadata and controls
27 lines (27 loc) · 1.35 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
{
"name": "product-service",
"version": "1.0.0",
"description": "Collaborative contracts example, using Dredd and OAS to validate the provider API",
"main": "server.js",
"scripts": {
"start": "node server.js",
"dredd": "dredd",
"test": "concurrently -k -s \"first\" \"npm start\" \"sleep 3 && npm run dredd\"",
"test:publish": "npm run publish",
"publish": "pactflow publish-provider-contract oas/products.yml --provider pactflow-example-bi-directional-provider-dredd --provider-app-version $(npx -y absolute-version) --branch $(git rev-parse --abbrev-ref HEAD) --content-type application/yaml --verification-exit-code=0 --verification-results output/report.md --verification-results-content-type \"text/plain\" --verifier dredd",
"can-i-deploy": "pact-broker can-i-deploy --pacticipant pactflow-example-bi-directional-provider-dredd --version=\"$(npx -y absolute-version)\" --to-environment production",
"deploy": "pact-broker record-deployment --pacticipant pactflow-example-bi-directional-provider-dredd --version \"$(npx -y absolute-version)\" --environment production"
},
"dependencies": {
"cors": "^2.8.5",
"express": "^5.0.1"
},
"devDependencies": {
"@pact-foundation/pact-cli": "18.0.0",
"axios": "1.13.6",
"concurrently": "9.2.1",
"dotenv": "17.3.1",
"dredd": "14.1.0"
},
"license": "ISC"
}