Skip to content

Commit bba403a

Browse files
authored
Merge pull request #9 from github/publish-to-gpr-as-well
Publish to GPR after publishing to npm
2 parents f088b5e + 4538028 commit bba403a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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)