Skip to content

Commit 7923480

Browse files
committed
publish to GPR as a postpublish step
1 parent ab7bf62 commit 7923480

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
"build": "npm run build-umd && npm run build-esm",
2121
"pretest": "npm run build",
2222
"test": "karma start test/karma.config.js",
23-
"prepublishOnly": "npm run build"
23+
"prepublishOnly": "npm run build",
24+
"postpublish": "npm publish --ignore-scripts --@github:registry='https://npm.pkg.github.com'"
2425
},
2526
"devDependencies": {
2627
"@babel/cli": "^7.5.0",

0 commit comments

Comments
 (0)