Skip to content

Commit 4538028

Browse files
committed
publish to GPR as a postpublish step
1 parent f088b5e commit 4538028

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
"clean": "rm -rf dist",
1414
"prebuild": "npm run clean && npm run lint && mkdir dist",
1515
"pretest": "npm run build",
16-
"prepublishOnly": "npm run build"
16+
"prepublishOnly": "npm run build",
17+
"postpublish": "npm publish --@github:registry='https://npm.pkg.github.com'"
1718
},
1819
"files": [
1920
"dist",

0 commit comments

Comments
 (0)