Skip to content

Commit c6d9760

Browse files
authored
Merge pull request #14 from github/publish-to-gpr-as-well
Publish to GPR as a postpublish step
2 parents dd0ffba + 662808e commit c6d9760

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
@@ -15,7 +15,8 @@
1515
"build": "npm run build-umd && npm run build-esm && cp index.js.flow dist/index.esm.js.flow && cp index.js.flow dist/index.umd.js.flow",
1616
"pretest": "npm run build",
1717
"test": "karma start test/karma.config.js",
18-
"prepublishOnly": "npm run build"
18+
"prepublishOnly": "npm run build",
19+
"postpublish": "npm publish --ignore-scripts --@github:registry='https://npm.pkg.github.com'"
1920
},
2021
"keywords": [
2122
"custom-element",

0 commit comments

Comments
 (0)