Skip to content

Commit 014b256

Browse files
authored
Merge pull request #121 from github/publish-to-gpr-as-well
Publish to GPR as a postpublish step
2 parents 77a086c + f5fd0ae commit 014b256

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
@@ -11,7 +11,8 @@
1111
"build": "rollup -c && cp src/index.js.flow dist/time-elements.js.flow && cp src/index.js.flow dist/time-elements-legacy.js.flow",
1212
"prepublishOnly": "npm run build",
1313
"pretest": "npm run build",
14-
"test": "karma start ./test/karma.config.js"
14+
"test": "karma start ./test/karma.config.js",
15+
"postpublish": "npm publish --ignore-scripts --@github:registry='https://npm.pkg.github.com'"
1516
},
1617
"repository": "github/time-elements",
1718
"devDependencies": {

0 commit comments

Comments
 (0)