-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
52 lines (52 loc) · 2.35 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
{
"releaseName": "coinpush",
"name": "coinpush",
"version": "0.0.1-alpha-4",
"email": "kewin@frontend-freelance.com",
"author": "Kewin Brandsma",
"main": "index.js",
"private": false,
"license": "CC-BY-NC-ND-4.0",
"description": "Javascript Trading Client and Server",
"repository": {
"type": "git",
"url": "https://github.com/DutchKevv/CoinPush.git"
},
"keywords": [
"CoinPush",
"Stock",
"Forex",
"Trade",
"Trading",
"Node",
"Trading",
"NodeJS"
],
"scripts": {
"postinstall": "npm run npm-install",
"build": "docker-compose build --parallel",
"build-prod": "docker-compose -f docker-compose.yml -f docker-compose.prod.yml build --parallel",
"start": "docker-compose up",
"restart": "npm run kill-server && npm run start-server",
"prod-server": "docker-compose -f docker-compose.yml -f docker-compose.prod.yml up -d",
"prod-mongo": "docker-compose -f docker-compose.yml -f docker-compose.prod.yml up -d mongodb",
"kill": "docker-compose kill",
"d-rm": "npm run d-kill-server && docker-compose rm nginx redis gateway notify user event cache comment",
"d-mongo-shell": "docker exec -it mongodb mongo",
"d-log": "docker-compose logs --tail=10 -f notify user event cache comment gateway",
"d-log-mongo": "docker-compose logs --tail=20 -f mongodb",
"d-login": "docker login registry.coinpush.app -u kewin -p Bettie123!",
"d-pull-service": "docker-compose kill $API_NAME && docker-compose rm -f $API_NAME && npm run d-login && docker pull registry.coinpush.app/$API_NAME && docker-compose -f ./docker-compose.yml -f ./docker-compose.prod.yml up -d $API_NAME",
"clean-app": "cd ./scripts/npm && sh ./clean-modules.sh",
"clean-server": "cd ./scripts/npm && sh ./clean-modules.sh",
"clean-candles": "docker exec -it mongodb bash -c 'mongo < myFile.js'",
"npm-clean": "cd ./scripts/npm && node --experimental-modules clean-modules.mjs",
"npm-update": "cd ./scripts/npm && sh ./update-modules.sh",
"npm-install": "cd ./scripts/npm && node --experimental-modules install-modules.mjs",
"inc-build-number": "node ./scripts/inc-build-number.js",
"prepare-dev": "cd ./scripts && node --experimental-modules prepare_dev.mjs",
"k-delete-pod": "kubectl delete deployment cp-api-pod",
"k-create-pod": "kubectl create -f deployment.yml"
},
"dependencies": {}
}