forked from httptoolkit/mockttp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
130 lines (130 loc) · 4.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
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
{
"name": "mockttp",
"version": "0.9.1",
"description": "Mock HTTP server for testing HTTP clients and stubbing webservices",
"main": "dist/main.js",
"browser": "dist/main-browser.js",
"types": "dist/main.d.ts",
"bin": {
"mockttp": "./dist/standalone/standalone-bin.js"
},
"runkitExampleFilename": "./docs/runkitExample.js",
"files": [
"dist",
"src",
"custom-typings",
"docs",
"typedoc"
],
"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 --excludeExternals --readme none --exclude '**/+(main-browser|standalone-bin).ts' --out typedoc/ src/ custom-typings/",
"test": "npm run build && npm run test:mocha && npm run test:browser",
"test:mocha": "NODE_EXTRA_CA_CERTS=./test/fixtures/test-ca.pem mocha -r ts-node/register 'test/**/*.spec.ts'",
"test:browser": "ts-node ./src/standalone/standalone-bin.ts -c karma start",
"test:browser:debug": "ts-node ./src/standalone/standalone-bin.ts -c karma start --single-run=false",
"standalone": "npm run build && node -e 'require(\".\").getStandalone({ debug: true }).start()'",
"ci": "npm run test && catch-uncommitted",
"graphiql": "npm run build && node ./standalone-graphiql.js",
"prepack": "npm run build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/pimterry/mockttp.git"
},
"keywords": [
"testing",
"test",
"mock",
"mockttp",
"stub",
"fake",
"http",
"server"
],
"author": "Tim Perry <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/pimterry/mockttp/issues"
},
"homepage": "https://github.com/pimterry/mockttp#readme",
"devDependencies": {
"@types/base64-arraybuffer": "^0.1.0",
"@types/body-parser": "0.0.33",
"@types/chai": "^3.4.34",
"@types/chai-as-promised": "0.0.29",
"@types/common-tags": "^1.4.0",
"@types/cors": "^2.8.1",
"@types/graphql": "^0.10.2",
"@types/lodash": "^4.14.37",
"@types/mocha": "^2.2.32",
"@types/normalize-url": "^1.9.1",
"@types/request": "0.0.31",
"@types/semver": "^5.5.0",
"@types/sinon": "^1.16.31",
"@types/sinon-chai": "^2.7.27",
"@types/source-map-support": "^0.4.0",
"@types/url-search-params": "^0.10.0",
"@types/uuid": "^3.4.0",
"@types/ws": "^5.1.2",
"apollo-link": "^1.0.5",
"catch-uncommitted": "^1.0.0",
"chai": "^3.5.0",
"chai-as-promised": "^6.0.0",
"chai-fetch": "^0.3.1",
"http-proxy-agent": "^2.0.0",
"karma": "^1.7.1",
"karma-chai": "^0.1.0",
"karma-chrome-launcher": "^2.2.0",
"karma-mocha": "^1.3.0",
"karma-sourcemap-loader": "^0.3.7",
"karma-webpack": "^2.0.5",
"mocha": "^3.0.2",
"opn": "^5.1.0",
"request": "^2.75.0",
"request-promise-native": "^1.0.3",
"rimraf": "^2.5.4",
"semver": "^5.5.0",
"sinon": "^1.17.5",
"sinon-chai": "^2.8.0",
"source-map-support": "^0.5.3",
"tmp-promise": "^1.0.3",
"ts-loader": "^2.3.7",
"ts-node": "^3.3.0",
"typedoc": "^0.10.0",
"typedoc-plugin-external-module-name": "^1.1.1",
"typescript": "^2.7.1",
"url-search-params": "^0.10.0",
"webpack": "^3.7.1"
},
"engines": {
"node": ">=4.0.0"
},
"dependencies": {
"@types/express": "^4.0.33",
"@types/node": "^6.0.45",
"apollo-server-express": "^1.1.0",
"base64-arraybuffer": "^0.1.5",
"body-parser": "^1.15.2",
"brotli": "^1.3.2",
"common-tags": "^1.8.0",
"cors": "^2.8.4",
"duplex-passthrough": "^1.0.2",
"express": "^4.14.0",
"fetch-ponyfill": "^4.1.0",
"graphql": "^0.11.3",
"graphql-subscriptions": "^0.5.5",
"graphql-tools": "~2.18.0",
"lodash": "^4.16.4",
"node-forge": "^0.7.1",
"normalize-url": "^1.9.1",
"portfinder": "^1.0.9",
"subscriptions-transport-ws": "^0.9.4",
"typed-error": "^2.0.0",
"universal-websocket-client": "^1.0.2",
"uuid": "^3.1.0",
"websocket-stream": "^5.1.2"
}
}