From 108603fc71ace7d3b749a4ad8e88a74b929f4ab3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristj=C3=A1n=20Oddsson?= Date: Thu, 29 Aug 2019 13:56:06 +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 7836d85..80ff045 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,8 @@ "prebuild": "npm run clean && npm run lint && mkdir dist", "build": "rollup -c && cp src/index.js.flow dist/index.umd.js.flow && cp src/index.js.flow dist/index.esm.js.flow", "test": "npm run build", - "prepublishOnly": "npm run build" + "prepublishOnly": "npm run build", + "postpublish": "npm publish --ignore-scripts --@github:registry='https://npm.pkg.github.com'" }, "keywords": [ "clipboard",