-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathpackage.json
69 lines (69 loc) · 2.2 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
{
"name": "pact-consumer-example-typescript",
"version": "1.0.0",
"description": "",
"devDependencies": {
"@pact-foundation/pact": "10.1.4",
"@pactflow/swagger-mock-validator": "11.3.0",
"@types/aws4": "1.11.2",
"@types/chai": "4.3.3",
"@types/jest": "28.1.8",
"@types/node": "16.11.68",
"@types/supertest": "2.0.12",
"@typescript-eslint/eslint-plugin": "5.56.0",
"@typescript-eslint/parser": "5.56.0",
"aws4": "1.11.0",
"chai": "4.3.6",
"cross-env": "7.0.3",
"dotenv": "16.0.3",
"eslint": "8.25.0",
"eslint-config-prettier": "8.5.0",
"husky": "8.0.1",
"jest": "28.1.3",
"jest-junit": "14.0.1",
"jest-pact": "0.10.1",
"jest-runner-newman": "1.0.5",
"lint-staged": "13.0.3",
"newman": "5.3.2",
"newman-wrapper": "1.0.10",
"openapi-types": "12.0.2",
"pmpact": "0.3.14",
"prettier": "2.7.1",
"rimraf": "3.0.2",
"supertest": "6.3.0",
"swagger-cli": "4.0.4",
"ts-jest": "28.0.8",
"ts-node": "10.9.1",
"typescript": "4.8.4"
},
"scripts": {
"build": "tsc",
"build-test-publish": "yarn run build && yarn run pact-test && yarn run pact-publish",
"swagger-validate-spec": "swagger-cli validate ./docs/pet-store.json",
"swagger-validate-pact": "swagger-mock-validator ./docs/pet-store.json ./pact/pacts/test-consumer-json-provider.json",
"pact-test": "rimraf pact && jest --detectOpenHandles \"^.+pacttest\\.ts$\"",
"pact-publish": "pact-broker publish pact/pacts --consumer-app-version $(git rev-parse HEAD) --branch $(git rev-parse --abbrev-ref HEAD)",
"delete-pacts-local": "rm ./pact/pacts/*.json",
"pact-verify-aws": "./src/pact/verifier/verify.sh",
"pact-verify": "npx ts-node ./src/pact/verifier/verify.ts",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"generate:collection": "./postman/postman-pact.sh",
"test:collection:newman": "./postman/postman-newman.sh",
"test:collection:jest": "jest -c jest.newman.js"
},
"lint-staged": {
"src/**/*.ts": [
"prettier --write",
"tslint --fix",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"author": "Yousaf Nabi",
"license": "MIT"
}