-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
executable file
·62 lines (62 loc) · 2.48 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
{
"name": "gateway-lite",
"version": "0.2.17",
"description": "An HTTP/HTTPS frontend express server for proxying to plain HTTP backends. Supports multiple domains, redirect, proxy paths, basic auth and automatic Lets Encrypt certificates",
"scripts": {
"docker:build:jimmyg": "docker build . -t docker.jimmyg.org/gateway-lite:0.2.17",
"docker:push:jimmyg": "docker push docker.jimmyg.org/gateway-lite:0.2.17",
"docker:build:jimmyg:test": "docker build . -t docker.jimmyg.org/gateway-lite:test",
"docker:push:jimmyg:test": "docker push docker.jimmyg.org/gateway-lite:test",
"docker:build": "docker build . -t thejimmyg/gateway-lite:0.2.17",
"docker:push": "docker push thejimmyg/gateway-lite:0.2.17",
"docker:build:test": "docker build . -t thejimmyg/gateway-lite:test",
"docker:push:test": "docker push thejimmyg/gateway-lite:test",
"docker:run": "mkdir -p domain; mkdir -p letsencrypt; docker run -e DEBUG=gateway-lite -v \"`pwd`/letsencrypt:/etc/letsencrypt:rw\" -v \"`pwd`/domain:/app/domain\" --init -p 8000:8000 -p 3000:3000 thejimmyg/gateway-lite:0.2.17 --https-port 3000 --port 8000 --cert domain/www.example.com/sni/cert.pem --key domain/www.example.com/sni/key.pem --domain domain --staging",
"docker:run:local": "docker-compose stop && docker-compose pull && docker-compose up --build -d",
"docker:stop:local": "docker-compose stop",
"docker:logs:local": "docker-compose logs --tail='all' -f",
"fix": "standard --fix",
"start": "node bin/gateway-lite.js",
"downstream": "cd downstream && npm start"
},
"bin": {
"gateway-lite": "bin/gateway-lite.js",
"install-certificates": "bin/install-certificates.js"
},
"standard": {
"globals": [
"fetch",
"Headers",
"describe",
"it",
"beforeEach",
"afterEach"
]
},
"repository": {
"type": "git",
"url": "[email protected]:thejimmyg/gateway-lite.git"
},
"author": "James Gardner",
"license": "MIT",
"devDependencies": {
"standard": "^10.0.2"
},
"dependencies": {
"chokidar": "^2.1.4",
"credential": "^2.0.0",
"dashdash": "^1.14.1",
"debug": "^4.1.0",
"express": "^4.15.2",
"express-basic-auth": "^1.1.6",
"express-http-proxy": "^1.5.0",
"express-mustache-jwt-signin": "^0.3.3",
"express-mustache-overlays": "^0.4.0",
"http-proxy-middleware": "^0.19.1",
"js-yaml": "^3.13.0",
"node-schedule": "^1.3.1",
"pjax-pwa-overlay": "^0.2.3",
"shelljs": "^0.8.3",
"vhost": "^3.0.2"
}
}