Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
26 lines (26 sloc) 1.66 KB
{
"name": "labtrail",
"version": "0.0.0",
"scripts": {
"dev": "now dev",
"lint": "yarn workspaces run lint",
"test": "yarn workspaces run test",
"docker-build-api": ". ./env.sh && docker build --rm -t api:$API_VERSION -f api/Dockerfile .",
"docker-build-app": ". ./env.sh && docker build --rm -t app:$APP_VERSION -f app/Dockerfile .",
"docker-build-qr": ". ./env.sh && docker build --rm -t qr:$QR_VERSION -f qr/Dockerfile .",
"docker-compose": "docker-compose up -d",
"docker-tag-api": ". ./env.sh && docker tag api:$API_VERSION $REGISTRY/api:latest && docker tag api:$API_VERSION $REGISTRY/api:$API_VERSION",
"docker-tag-app": ". ./env.sh && docker tag app:$APP_VERSION $REGISTRY/app:latest && docker tag app:$APP_VERSION $REGISTRY/app:$APP_VERSION",
"docker-tag-qr": ". ./env.sh && docker tag qr:$QR_VERSION $REGISTRY/qr:latest && docker tag qr:$QR_VERSION $REGISTRY/qr:$QR_VERSION",
"docker-publish-api": ". ./env.sh && docker push $REGISTRY/api:$API_VERSION && docker push $REGISTRY/api:latest",
"docker-publish-app": ". ./env.sh && docker push $REGISTRY/app:$APP_VERSION && docker push $REGISTRY/app:latest",
"docker-publish-qr": ". ./env.sh && docker push $REGISTRY/qr:$QR_VERSION && docker push $REGISTRY/qr:latest",
"docker-pull-api": ". ./env.sh && docker pull $REGISTRY/api:$API_VERSION",
"docker-pull-app": ". ./env.sh && docker pull $REGISTRY/app:$APP_VERSION",
"docker-pull-qr": ". ./env.sh && docker pull $REGISTRY/qr:$QR_VERSION"
},
"private": true,
"workspaces": ["api", "app", "auth", "qr", "@apland/mongo", "scripts", "typeface-helveticarounded-bold"],
"author": "Janik von Rotz",
"license": "GPL-3.0"
}
You can’t perform that action at this time.