Skip to content

Commit 9c42e29

Browse files
authored
Merge pull request #5 from github/publish-to-gpr-as-well
Publish to GPR as a postpublish step
2 parents 56819d0 + d181bbd commit 9c42e29

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@
2020
"lint": "github-lint",
2121
"prepublishOnly": "npm run build",
2222
"test": "BABEL_ENV=umd mocha --require @babel/register && npm run tsc",
23-
"tsc": "tsc --noEmit test/index.ts"
23+
"tsc": "tsc --noEmit test/index.ts",
24+
"postpublish": "npm publish --ignore-scripts --@github:registry='https://npm.pkg.github.com'"
2425
},
2526
"babel": {
2627
"env": {

0 commit comments

Comments
 (0)