From 7923480e4990e5edd69e9affe20956c20799e065 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristj=C3=A1n=20Oddsson?= Date: Wed, 7 Aug 2019 16:46:01 +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 35aeb46..39ae9b2 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,8 @@ "build": "npm run build-umd && npm run build-esm", "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'" }, "devDependencies": { "@babel/cli": "^7.5.0",