Skip to content

Commit 8199cd8

Browse files
authored
Merge pull request #5 from github/publish-to-gpr-as-well
Publish to GPR as a postpublish step
2 parents dbfb32a + c096a94 commit 8199cd8

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
@@ -18,7 +18,8 @@
1818
"build": "npm run build-umd && npm run build-esm",
1919
"pretest": "npm run build",
2020
"test": "karma start test/karma.config.js",
21-
"prepublishOnly": "npm run build"
21+
"prepublishOnly": "npm run build",
22+
"postpublish": "npm publish --ignore-scripts --@github:registry='https://npm.pkg.github.com'"
2223
},
2324
"devDependencies": {
2425
"@babel/cli": "^7.2.3",

0 commit comments

Comments
 (0)