Skip to content

Commit c096a94

Browse files
committed
publish to GPR as a postpublish step
1 parent 8db631b commit c096a94

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": "npm run build-umd && npm run build-esm",
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.2.3",

0 commit comments

Comments
 (0)