Skip to content

Commit 3e5bebf

Browse files
authored
Merge pull request #35 from github/publish-to-gpr-as-well
Publish to GPR as a postpublish step
2 parents eb4968e + fc523b6 commit 3e5bebf

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
@@ -24,7 +24,8 @@
2424
"build": "npm run build-umd && npm run build-esm",
2525
"pretest": "npm run build",
2626
"test": "karma start test/karma.config.js",
27-
"prepublishOnly": "npm run build"
27+
"prepublishOnly": "npm run build",
28+
"postpublish": "npm publish --ignore-scripts --@github:registry='https://npm.pkg.github.com'"
2829
},
2930
"devDependencies": {
3031
"@babel/cli": "^7.5.0",

0 commit comments

Comments
 (0)