Skip to content

Commit f5fd0ae

Browse files
committed
publish to GPR as a postpublish step
1 parent 77a086c commit f5fd0ae

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)