forked from pactflow/example-bi-directional-provider-dredd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
28 lines (28 loc) · 1.12 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
{
"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": "node test/publish.js",
"publish": "node test/publish.js true \"$(npx @pact-foundation/absolute-version)\"",
"can-i-deploy": "pact-broker can-i-deploy --pacticipant pactflow-example-bi-directional-provider-dredd --version=\"$(npx @pact-foundation/absolute-version)\" --to-environment production",
"deploy": "pact-broker record-deployment --pacticipant pactflow-example-bi-directional-provider-dredd --version \"$(npx @pact-foundation/absolute-version)\" --environment production"
},
"dependencies": {
"cors": "^2.8.5",
"express": "^4.17.1"
},
"devDependencies": {
"@pact-foundation/pact-core": "^13.4.1-beta.18",
"axios": "^0.21.1",
"concurrently": "^7.1.0",
"dotenv": "^8.2.0",
"dredd": "^14.1.0",
"eslint": "^6.8.0"
},
"license": "ISC"
}