Skip to content

Commit 8fdbed6

Browse files
authored
Merge pull request #13 from github/publish-to-gpr-as-well
Publish to GPR as a postpublish step
2 parents 4d5b815 + 1f79afd commit 8fdbed6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
"build": "rollup -c && cp src/combobox-nav.js.flow dist/combobox-nav.esm.js.flow && cp src/combobox-nav.js.flow dist/combobox-nav.umd.js.flow",
1717
"test": "karma start test/karma.config.js",
1818
"pretest": "npm run build",
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
"devDependencies": {
2223
"@babel/core": "^7.5.5",

0 commit comments

Comments
 (0)