-
-
Notifications
You must be signed in to change notification settings - Fork 349
/
package.json
171 lines (171 loc) · 5.57 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
{
"name": "@pact-foundation/pact",
"version": "13.2.0",
"description": "Pact for all things Javascript",
"main": "./src/index.js",
"types": "./src/index.d.ts",
"scripts": {
"compile": "rimraf dist && tsc",
"clean": "rimraf dist coverage .nyc_output logs pacts",
"coverage": "nyc report --reporter=lcov",
"dist": "tsc && copyfiles package.json ./dist",
"lint": "eslint --config .eslintrc.json \"{src,test}/**/*.ts\"",
"lint:fix": "npm run lint -- --fix",
"format:base": "prettier \"{src,test,examples}/**/*.{ts,js}\"",
"format:fix": "npm run format:base -- --write",
"format:check": "npm run format:base -- --check",
"postdist": "npm test",
"predist": "npm run clean && npm run format:check && npm run lint",
"release": "commit-and-tag-version",
"test": "nyc --check-coverage --reporter=html --reporter=text-summary mocha -t 120000",
"pretest": "bash scripts/install-plugins.sh",
"docker:alpine:build": "docker build --build-arg NODE_VERSION=${NODE_VERSION:-current} -f Dockerfile.alpine -t pact-js:alpine .",
"docker:debian:build": "docker build --build-arg NODE_VERSION=${NODE_VERSION:-current} -f Dockerfile.debian -t pact-js:debian .",
"docker:alpine:run": "docker run -e LOG_LEVEL=${LOG_LEVEL:-info} -e GIT_REF=${GIT_REF:-test} -e GITHUB_ACTIONS=${GITHUB_ACTIONS:-false} -e SKIP_EXAMPLES=${SKIP_EXAMPLES:-''} -e PACT_BROKER_BASE_URL -e PACT_BROKER_TOKEN -w /home -v $(pwd):/home --rm pact-js:alpine",
"docker:debian:run": "docker run -e LOG_LEVEL=${LOG_LEVEL:-info} -e GIT_REF=${GIT_REF:-test} -e GITHUB_ACTIONS=${GITHUB_ACTIONS:-false} -e SKIP_EXAMPLES=${SKIP_EXAMPLES:-''} -e PACT_BROKER_BASE_URL -e PACT_BROKER_TOKEN -w /home -v $(pwd):/home --rm pact-js:debian",
"docker:alpine:attach": "docker run -e PACT_BROKER_BASE_URL -e PACT_BROKER_TOKEN -w /home -v $(pwd):/home --entrypoint /bin/bash --rm -it pact-js:alpine",
"docker:debian:attach": "docker run -e PACT_BROKER_BASE_URL -e PACT_BROKER_TOKEN -w /home -v $(pwd):/home --entrypoint /bin/bash --rm -it pact-js:debian"
},
"repository": {
"type": "git",
"url": "git+https://github.com/pact-foundation/pact-js.git"
},
"engines": {
"node": ">=16"
},
"keywords": [
"pact",
"pact-js",
"javascript",
"contract testing",
"testing",
"consumer driven testing"
],
"author": "Matt Fellows <[email protected]> (http://twitter.com/matthewfellows)",
"contributors": [
{
"name": "Tarcio Saraiva",
"email": "[email protected]",
"url": "http://twitter.com/tarciosaraiva"
},
{
"name": "Michel Boudreau",
"email": "[email protected]",
"url": "http://codinghitchhiker.com"
},
{
"name": "Beth Skurrie",
"email": "[email protected]",
"url": "https://github.com/bethesque"
}
],
"license": "MIT",
"bugs": {
"url": "https://github.com/pact-foundation/pact-js/issues"
},
"homepage": "https://docs.pact.io/implementation_guides/javascript/",
"standard-version": {
"types": [
{
"type": "feat",
"section": "Features"
},
{
"type": "fix",
"section": "Fixes and Improvements"
},
{
"type": "chore",
"hidden": true
},
{
"type": "docs",
"hidden": true
},
{
"type": "style",
"hidden": true
},
{
"type": "refactor",
"hidden": true
},
{
"type": "perf",
"hidden": true
},
{
"type": "test",
"hidden": true
}
]
},
"dependencies": {
"@pact-foundation/pact-core": "^15.1.0",
"@types/express": "^4.17.11",
"axios": "^1.7.8",
"body-parser": "^1.20.3",
"chalk": "4.1.2",
"express": "^4.21.1",
"graphql": "^14.0.0",
"graphql-tag": "^2.9.1",
"http-proxy": "^1.18.1",
"https-proxy-agent": "^7.0.4",
"js-base64": "^3.6.1",
"lodash": "^4.17.21",
"lodash.isfunction": "3.0.9",
"lodash.isnil": "4.0.0",
"lodash.isundefined": "3.0.1",
"lodash.omit": "^4.5.0",
"pkginfo": "^0.4.1",
"ramda": "^0.30.0",
"randexp": "^0.5.3"
},
"devDependencies": {
"@babel/cli": "7.26.4",
"@babel/core": "7.26.0",
"@babel/preset-env": "7.26.0",
"@pact-foundation/pact-js-prettier-config": "1.0.0",
"@types/chai": "4.3.20",
"@types/chai-as-promised": "8.0.1",
"@types/http-proxy": "1.17.15",
"@types/lodash": "4.17.13",
"@types/lodash.isnil": "4.0.9",
"@types/mocha": "10.0.10",
"@types/nock": "9.3.1",
"@types/node": "22.10.2",
"@types/ramda": "0.30.2",
"@types/sinon": "17.0.3",
"@types/sinon-chai": "2.7.42",
"@types/tough-cookie": "4.0.5",
"@typescript-eslint/eslint-plugin": "5.62.0",
"@typescript-eslint/parser": "5.62.0",
"chai": "4.5.0",
"chai-as-promised": "8.0.1",
"commit-and-tag-version": "12.5.0",
"copyfiles": "2.4.1",
"eslint": "8.57.1",
"eslint-config-airbnb-base": "15.0.0",
"eslint-config-airbnb-typescript": "17.1.0",
"eslint-config-prettier": "9.1.0",
"eslint-import-resolver-typescript": "3.7.0",
"eslint-plugin-chai-friendly": "1.0.1",
"eslint-plugin-import": "2.31.0",
"eslint-plugin-mocha": "10.5.0",
"lodash.clone": "4.5.0",
"mocha": "11.0.1",
"mocha-lcov-reporter": "1.3.0",
"neon-cli": "0.10.1",
"nock": "13.5.6",
"nyc": "17.1.0",
"prettier": "3.4.2",
"proxyquire": "2.1.3",
"rimraf": "6.0.1",
"sinon": "19.0.2",
"sinon-chai": "3.7.0",
"source-map-support": "0.5.21",
"ts-mock-imports": "1.3.16",
"ts-node": "3.3.0",
"typescript": "4.9.5"
}
}