Skip to content

Commit fc523b6

Browse files
committed
publish to GPR as a postpublish step
1 parent eb4968e commit fc523b6

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