forked from pactflow/example-bi-directional-provider-postman
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
32 lines (31 loc) · 1.02 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
29
30
31
32
{
"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",
"pretest": "rimraf newman",
"test:newman": "newman run -e ./test/localhost3001.postman_environment.json test/PactflowProductsAPI.postman_collection.json -r cli,json",
"test": "concurrently -k -s \"first\" \"npm start\" \"sleep 3 && npm run test:newman\"",
"test:convert": "node test/transform.js",
"test:publish": "EXIT_CODE=0 make publish_provider_contract",
"deploy":"PACT_TOOL=ruby_standalone make ci"
},
"dependencies": {
"@pact-foundation/pact": "^12.1.0",
"cors": "^2.8.5",
"express": "^4.17.1",
"newman": "^5.2.3",
"rimraf": "^3.0.2",
"postman-to-openapi": "3.0.1"
},
"devDependencies": {
"axios": "^0.21.1",
"concurrently": "^7.1.0",
"dotenv": "^8.2.0",
"eslint": "^6.8.0",
"postman2openapi": "^1.0.0"
},
"license": "ISC"
}