-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
61 lines (61 loc) · 1.88 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
{
"name": "@gguridi/mockserver",
"description": "Reimplementation of namshi's mockserver with extended functionality",
"version": "0.0.0",
"main": "dist/server.js",
"repository": {
"type": "git",
"url": "git+https://github.com/gguridi/mockserver.git"
},
"bugs": {
"url": "https://github.com/gguridi/mockserver/issues"
},
"homepage": "https://github.com/gguridi/mockserver#readme",
"bin": {
"mockserver": "bin/mockserver.js"
},
"scripts": {
"test": "jest",
"build": "babel --quiet --out-dir dist src",
"start": "npm run build && node bin/mockserver.js -b text -p 8028 -l debug -m ./test/examples",
"docker-start": "node bin/mockserver.js -p 80 -l debug -m /opt/api",
"docker-build": "docker build -t mockserver .",
"docker-run": "docker run --name api -d -v ${PWD}/test/examples:/opt/api -p 8000:80 mockserver",
"docker-stop": "docker rm -f api || true"
},
"author": "Gorka Guridi <gorka.guridi@gmail.com>",
"license": "MIT",
"dependencies": {
"body-parser": "^1.20.1",
"commander": "^9.4.1",
"express": "^4.18.2",
"header-case-normalizer": "^1.0.3",
"simple-combinatorics": "^1.0.2",
"winston": "^3.8.2"
},
"devDependencies": {
"@babel/cli": "^7.19.3",
"@babel/core": "^7.19.3",
"@babel/preset-env": "^7.19.3",
"babel-loader": "^9.1.0",
"frisby": "^2.1.3",
"jest": "^29.3.1",
"node-mocks-http": "^1.12.1",
"supertest": "^6.3.1"
},
"jest": {
"setupFiles": [
"./test/setup.js"
],
"collectCoverageFrom": [
"src/**"
],
"coverageDirectory": "./coverage/",
"collectCoverage": true
},
"babel": {
"presets": [
"@babel/preset-env"
]
}
}