-
Notifications
You must be signed in to change notification settings - Fork 109
Expand file tree
/
Copy pathpackage.json
More file actions
157 lines (157 loc) · 4.75 KB
/
Copy pathpackage.json
File metadata and controls
157 lines (157 loc) · 4.75 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
{
"name": "mockttp",
"version": "2.6.0",
"description": "Mock HTTP server for testing HTTP clients and stubbing webservices",
"main": "dist/main.js",
"browser": {
"dist/main.js": "./dist/main-browser.js",
"dns": false,
"os": false,
"fs": false,
"net": false,
"tls": false,
"http": false,
"https": false,
"http2": false,
"http2-wrapper": false,
"cacheable-lookup": false,
"@httptoolkit/proxy-agent": false
},
"types": "dist/main.d.ts",
"bin": {
"mockttp": "./dist/standalone/standalone-bin.js"
},
"runkitExampleFilename": "./docs/runkitExample.js",
"files": [
"dist",
"src",
"custom-typings",
"docs"
],
"scripts": {
"prebuild": "rimraf dist/*",
"build": "npm run build:src && npm run build:doc",
"build:src": "tsc && cp src/standalone/schema.gql dist/standalone/schema.gql && chmod +x ./dist/standalone/standalone-bin.js",
"build:doc": "typedoc src/main.ts",
"postbuild:doc": "touch ./typedoc/.nojekyll",
"test": "npm run build && npm run test:node && npm run test:browser",
"test:node": "NODE_EXTRA_CA_CERTS=./test/fixtures/test-ca.pem TS_NODE_FILES=true mocha -r ts-node/register 'test/**/*.spec.ts'",
"test:browser": "npm run with-standalone -- karma start",
"test:browser:debug": "npm run with-standalone -- karma start --single-run=false --browsers ChromeWithCert",
"standalone": "npm run build && node -e 'require(\".\").getStandalone({ debug: true }).start()'",
"with-standalone": "TS_NODE_FILES=true ts-node ./src/standalone/standalone-bin.ts -c ",
"ci-tests": "npm run test && catch-uncommitted",
"prepack": "npm run build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/httptoolkit/mockttp.git"
},
"keywords": [
"testing",
"test",
"mock",
"mockttp",
"stub",
"fake",
"http",
"server"
],
"author": "Tim Perry <pimterry@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/httptoolkit/mockttp/issues"
},
"homepage": "https://github.com/httptoolkit/mockttp#readme",
"devDependencies": {
"@graphql-tools/utils": "^7.10.0",
"@types/base64-arraybuffer": "0.1.0",
"@types/body-parser": "1.19.1",
"@types/chai": "4.2.21",
"@types/chai-as-promised": "7.1.4",
"@types/common-tags": "1.8.1",
"@types/connect": "3.4.35",
"@types/dns2": "1.4.0",
"@types/express": "4.17.13",
"@types/fs-extra": "8.1.0",
"@types/graphql": "14.5.0",
"@types/lodash": "4.14.172",
"@types/mocha": "8.2.3",
"@types/native-duplexpair": "^1.0.0",
"@types/node-forge": "1.0.0",
"@types/request": "2.48.7",
"@types/semver": "5.5.0",
"@types/shelljs": "0.8.9",
"@types/source-map-support": "0.4.2",
"@types/uuid": "8.3.4",
"@types/ws": "7.2.0",
"agent-base": "^4.2.1",
"brotli-wasm": "^1.0.0",
"catch-uncommitted": "^1.0.0",
"chai": "^3.5.0",
"chai-as-promised": "^6.0.0",
"chai-fetch": "^0.3.1",
"dns2": "1.4.2",
"fs-extra": "^8.1.0",
"http-proxy-agent": "^2.0.0",
"https-proxy-agent": "^2.2.1",
"isomorphic-ws": "^4.0.1",
"karma": "^6.3.2",
"karma-chai": "^0.1.0",
"karma-chrome-launcher": "^2.2.0",
"karma-mocha": "^2.0.1",
"karma-sourcemap-loader": "^0.3.7",
"karma-spec-reporter": "0.0.32",
"karma-webpack": "^4.0.2",
"mocha": "^9.1.3",
"node-abort-controller": "^3.0.1",
"null-loader": "^3.0.0",
"opn": "^5.1.0",
"request": "^2.75.0",
"request-promise-native": "^1.0.3",
"rimraf": "^2.5.4",
"semver": "^5.5.0",
"source-map-support": "^0.5.3",
"tmp-promise": "^1.0.3",
"ts-loader": "^8.0.2",
"ts-node": "^9.1.1",
"typedoc": "^0.22.4",
"typescript": "4.3.2",
"webpack": "^4.46.0",
"zstd-codec": "^0.1.4"
},
"engines": {
"node": ">=12.0.0"
},
"dependencies": {
"@graphql-tools/schema": "^7.1.5",
"@httptoolkit/httpolyglot": "^2.0.1",
"@httptoolkit/proxy-agent": "^5.0.1-socks-lookup-fix.0",
"@httptoolkit/subscriptions-transport-ws": "^0.9.19",
"@httptoolkit/websocket-stream": "^6.0.0",
"@types/cors": "^2.8.6",
"@types/node": "*",
"base64-arraybuffer": "^0.1.5",
"body-parser": "^1.15.2",
"cacheable-lookup": "^6.0.0",
"common-tags": "^1.8.0",
"connect": "^3.7.0",
"cors": "^2.8.4",
"cors-gate": "^1.1.3",
"express": "^4.14.0",
"express-graphql": "^0.11.0",
"fetch-ponyfill": "^7.1.0",
"graphql": "^14.0.2 || ^15.5",
"graphql-subscriptions": "^1.1.0",
"http-encoding": "^1.5.0",
"http2-wrapper": "2.0.5",
"lodash": "^4.16.4",
"native-duplexpair": "^1.0.0",
"node-forge": "^1.2.1",
"performance-now": "^2.1.0",
"portfinder": "^1.0.23",
"typed-error": "^3.0.2",
"uuid": "^8.3.2",
"ws": "^7.3.1"
}
}