Skip to content

Commit acbf9f5

Browse files
authored
Merge pull request #15 from github/publish-to-gpr-as-well
Publish to GPR as a postpublish step
2 parents ea3e59d + 894f014 commit acbf9f5

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
@@ -20,7 +20,8 @@
2020
"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",
2121
"pretest": "npm run build",
2222
"test": "karma start test/karma.config.js",
23-
"prepublishOnly": "npm run build"
23+
"prepublishOnly": "npm run build",
24+
"postpublish": "npm publish --ignore-scripts --@github:registry='https://npm.pkg.github.com'"
2425
},
2526
"devDependencies": {
2627
"@babel/cli": "^7.4.4",

0 commit comments

Comments
 (0)