-
-
Notifications
You must be signed in to change notification settings - Fork 350
Expand file tree
/
Copy pathpackage.json
More file actions
165 lines (165 loc) · 5.33 KB
/
package.json
File metadata and controls
165 lines (165 loc) · 5.33 KB
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
{
"name": "@pact-foundation/pact",
"version": "16.3.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",
"predist": "npm run clean",
"dist": "tsc && copyfiles package.json ./dist",
"install-plugins": "./scripts/install-plugins",
"fix": "npm run format:fix && npm run lint:fix",
"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",
"release": "commit-and-tag-version",
"check": "npm run format:check && npm run lint && npm run test",
"test": "mocha",
"coverage": "nyc npm run test",
"pretest": "npm run install-plugins",
"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": ">=20"
},
"keywords": [
"pact",
"pact-js",
"javascript",
"contract testing",
"testing",
"consumer driven testing"
],
"author": "Matt Fellows <m@onegeek.com.au> (http://twitter.com/matthewfellows)",
"contributors": [
{
"name": "Tarcio Saraiva",
"email": "tarcio@gmail.com",
"url": "http://twitter.com/tarciosaraiva"
},
{
"name": "Michel Boudreau",
"email": "michelboudreau@gmail.com",
"url": "http://codinghitchhiker.com"
},
{
"name": "Beth Skurrie",
"email": "beth@bethesque.com",
"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": "^19.1.0",
"axios": "^1.12.2",
"body-parser": "^2.2.0",
"chalk": "4.1.2",
"express": "^5.1.0",
"graphql": "^16.11.0",
"graphql-tag": "^2.12.6",
"http-proxy": "^1.18.1",
"https-proxy-agent": "^7.0.6",
"js-base64": "^3.7.8",
"lodash": "^4.17.21",
"ramda": "^0.32.0",
"randexp": "^0.5.3",
"router": "^2.2.0",
"stack-utils": "^2.0.6"
},
"devDependencies": {
"@babel/cli": "7.28.6",
"@babel/core": "7.29.0",
"@babel/preset-env": "7.29.2",
"@pact-foundation/pact-js-prettier-config": "1.0.0",
"@types/chai": "5.2.3",
"@types/chai-as-promised": "8.0.2",
"@types/express": "4.17.25",
"@types/http-proxy": "1.17.17",
"@types/lodash": "4.17.24",
"@types/mocha": "10.0.10",
"@types/nock": "11.1.0",
"@types/node": "24.12.2",
"@types/ramda": "0.31.1",
"@types/sinon": "21.0.1",
"@types/sinon-chai": "4.0.0",
"@types/stack-utils": "2.0.3",
"@typescript-eslint/eslint-plugin": "5.62.0",
"@typescript-eslint/parser": "5.62.0",
"chai": "6.2.2",
"chai-as-promised": "8.0.2",
"commit-and-tag-version": "12.7.1",
"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": "10.1.8",
"eslint-import-resolver-typescript": "4.4.2",
"eslint-plugin-chai-friendly": "1.2.0",
"eslint-plugin-import": "2.32.0",
"eslint-plugin-mocha": "10.5.0",
"mocha": "11.7.5",
"nock": "14.0.12",
"nyc": "18.0.0",
"prettier": "3.6.2",
"proxyquire": "2.1.3",
"rimraf": "6.1.3",
"sinon": "21.0.3",
"sinon-chai": "4.0.1",
"source-map-support": "0.5.21",
"tsx": "4.21.0",
"typescript": "5.9.3"
}
}