forked from metahkg/metahkg
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
42 lines (42 loc) · 2.61 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
{
"name": "metahkg",
"version": "6.9.0",
"description": "Metahkg is a free and open source lihkg-style forum.",
"repository": {
"type": "git",
"url": "git+https://gitlab.com/metahkg/metahkg.git"
},
"scripts": {
"test": "exit 0",
"setup": "(yarn install || npm install) && node mongodb/mongo-setup.js",
"deploy": "cd metahkg-server && yarn run deploy & cd metahkg-web && yarn run deploy",
"start:docker": "yarn docker",
"docker": "cd docker && docker-compose pull metahkg-mongo metahkg-redis && docker-compose up -d --build",
"docker:prebuilt": "cd docker && docker-compose pull --ignore-pull-failures && docker-compose build metahkg-nginx && docker-compose up -d",
"docker:vpn": "cd docker && docker-compose -f docker-compose.vpn.yml pull metahkg-mongo metahkg-redis metahkg-protonvpn && docker-compose -f docker-compose.vpn.yml up -d --build",
"docker:vpn:prebuilt": "cd docker && docker-compose -f docker-compose.vpn.yml pull --ignore-pull-failures && docker-compose -f docker-compose.vpn.yml build metahkg-nginx && docker-compose -f docker-compose.vpn.yml up -d",
"docker:vpn:express": "cd docker && docker-compose -f docker-compose.vpn.express.yml pull metahkg-mongo metahkg-redis metahkg-protonvpn metahkg-mongo-express && docker-compose -f docker-compose.vpn.express.yml up -d --build",
"docker:vpn:express:prebuilt": "cd docker && docker-compose -f docker-compose.vpn.express.yml pull --ignore-pull-failures && docker-compose -f docker-compose.vpn.express.yml build metahkg-nginx && docker-compose -f docker-compose.vpn.express.yml up -d",
"docker:express": "cd docker && docker-compose -f docker-compose.express.yml pull metahkg-mongo metahkg-redis metahkg-mongo-express && docker-compose -f docker-compose.express.yml up -d --build",
"docker:express:prebuilt": "cd docker && docker-compose -f docker-compose.express.yml pull --ignore-pull-failures && docker-compose -f docker-compose.express.yml build metahkg-nginx && docker-compose -f docker-compose.express.yml up -d",
"docker:express-prebuilt": "yarn docker:express:prebuilt",
"docker:down": "cd docker && docker-compose down",
"docker:logs": "cd docker && docker-compose logs",
"docker:clean": "docker images -a | grep '<none>' | awk '{print $3}' | xargs docker rmi",
"clean:docker": "yarn docker:clean"
},
"keywords": [
"forum",
"react"
],
"author": "wcyat",
"license": "AGPL-3.0-or-later",
"bugs": {
"url": "https://gitlab.com/metahkg/metahkg/issues"
},
"homepage": "https://gitlab.com/metahkg/metahkg#readme",
"devDependencies": {
"dotenv": "^16.0.1",
"mongodb": "^4.8.1"
}
}