From c096a9421f610e93654fb2c65670ce599130bcbb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristj=C3=A1n=20Oddsson?= Date: Fri, 23 Aug 2019 13:32:47 +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 70554d8..5af7436 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,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.2.3",