Skip to content

Commit b56e8c4

Browse files
committed
publish to GPR as a postpublish step
1 parent d48a9fc commit b56e8c4

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
@@ -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)