-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
49 lines (49 loc) · 2.07 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
{
"name": "pact-workshop-js",
"version": "1.0.0",
"description": "Example JS project for the Pact workshop",
"main": "index.js",
"scripts": {
"test:consumer": "./node_modules/.bin/mocha --timeout 100000 consumer/test/consumer.spec.js",
"test:pact:consumer": "./node_modules/.bin/mocha --timeout 10000 consumer/test/consumerPact.spec.js",
"test:pact:publish": "node consumer/test/publish.js",
"test:pact:provider": "./node_modules/.bin/mocha --timeout 100000 provider/test/providerPact.spec.js",
"can-i-deploy": "npm run can-i-deploy:consumer && npm run can-i-deploy:provider",
"can-i-deploy:consumer": "run-script-os",
"can-i-deploy:provider": "run-script-os",
"can-i-deploy:consumer:darwin:linux": "pact-broker can-i-deploy --pacticipant 'Order Web' --version 1.0.0",
"can-i-deploy:provider:darwin:linux": "pact-broker can-i-deploy --pacticipant 'Order API' --version 1.0.0",
"can-i-deploy:consumer:win32": "cross-env .\\node_modules\\@pact-foundation\\pact-node\\standalone\\win32-1.63.0\\bin\\pact-broker.bat can-i-deploy --pacticipant \"Order Web\" --version \"1.0.0\"",
"can-i-deploy:provider:win32": "cross-env .\\node_modules\\@pact-foundation\\pact-node\\standalone\\win32-1.63.0\\bin\\pact-broker.bat can-i-deploy --pacticipant \"Order API\" --version \"1.0.0\""
},
"repository": {
"type": "git",
"url": "git+https://github.com/DiUS/pact-workshop-js.git"
},
"bugs": {
"url": "https://github.com/DiUS/pact-workshop-js/issues"
},
"homepage": "https://github.com/DiUS/pact-workshop-js#readme",
"author": "Matt Fellows <m@onegeek.com.au>",
"license": "Apache-2.0",
"engines": {
"node": ">=4"
},
"devDependencies": {
"@pact-foundation/pact": "^9.1.0",
"@pact-foundation/pact-node": "^9.0.3",
"chai": "^3.5.0",
"chai-as-promised": "^7.1.1",
"cli-color": "^1.1.0",
"cross-env": "^5.2.1",
"mocha": "^3.5.3",
"nock": "^10.0.6",
"run-script-os": "^1.0.7"
},
"dependencies": {
"body-parser": "^1.19.0",
"cors": "^2.8.1",
"express": "^4.17.1",
"superagent": "^3.3.2"
}
}