Skip to content

Commit 3cb46fa

Browse files
authored
Merge pull request #14 from github/publish-to-gpr-as-well
Publish to GPR as a postpublish step
2 parents 758f21b + 689850f commit 3cb46fa

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
@@ -18,7 +18,8 @@
1818
"build": "rollup -c && cp index.js.flow dist/index.esm.js.flow && cp index.js.flow dist/index.umd.js.flow",
1919
"pretest": "npm run build",
2020
"test": "karma start test/karma.config.js",
21-
"prepublishOnly": "npm run build"
21+
"prepublishOnly": "npm run build",
22+
"postpublish": "npm publish --ignore-scripts --@github:registry='https://npm.pkg.github.com'"
2223
},
2324
"devDependencies": {
2425
"@babel/cli": "^7.4.4",

0 commit comments

Comments
 (0)