Skip to content

Commit b03e53f

Browse files
authored
Merge pull request #14 from github/publish-to-gpr-as-well
Publish to GPR as a postpublish step
2 parents 0ea7478 + 0a43b40 commit b03e53f

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
@@ -16,7 +16,8 @@
1616
"build": "rollup -c && cp quote-selection.js.flow dist/quote-selection.esm.js.flow && cp quote-selection.js.flow dist/quote-selection.umd.js.flow",
1717
"pretest": "npm run build",
1818
"test": "karma start test/karma.config.js",
19-
"prepublishOnly": "npm run build"
19+
"prepublishOnly": "npm run build",
20+
"postpublish": "npm publish --ignore-scripts --@github:registry='https://npm.pkg.github.com'"
2021
},
2122
"dependencies": {},
2223
"devDependencies": {

0 commit comments

Comments
 (0)