From 662808e10d1cbc6c6cfa736126c95ec78932bbdd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristj=C3=A1n=20Oddsson?= Date: Wed, 7 Aug 2019 16:49:29 +0100 Subject: [PATCH] publish to GPR as a postpublish step --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 8f543bb..69b98e7 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,8 @@ "build": "npm run build-umd && npm run build-esm && cp index.js.flow dist/index.esm.js.flow && cp index.js.flow dist/index.umd.js.flow", "pretest": "npm run build", "test": "karma start test/karma.config.js", - "prepublishOnly": "npm run build" + "prepublishOnly": "npm run build", + "postpublish": "npm publish --ignore-scripts --@github:registry='https://npm.pkg.github.com'" }, "keywords": [ "custom-element",