From 6f261d59fcbf8c264e79b9f42001397485308b08 Mon Sep 17 00:00:00 2001 From: Alexander Fenster Date: Wed, 12 Feb 2020 15:54:39 -0800 Subject: [PATCH] fix: fix docker image with symlinks --- package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index a141a2dc2..229773bf0 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,9 @@ "lint": "gts check", "prepare": "npm run compile-protos && npm run compile", "pretest": "npm run compile-protos && npm run compile", - "test": "c8 --reporter=lcov mocha build/test/unit" + "test": "c8 --reporter=lcov mocha build/test/unit", + "prepack": "cd templates/typescript_gapic && rm -f package.json.njk && mv package.json package.json.njk", + "postpack": "cd templates/typescript_gapic && mv package.json.njk package.json && ln -s package.json package.json.njk" }, "dependencies": { "file-system": "^2.2.2",