Skip to content

Commit

Permalink
publish to GPR as a postpublish step
Browse files Browse the repository at this point in the history
  • Loading branch information
koddsson committed Aug 6, 2019
1 parent 77a086c commit f5fd0ae
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
"build": "rollup -c && cp src/index.js.flow dist/time-elements.js.flow && cp src/index.js.flow dist/time-elements-legacy.js.flow",
"prepublishOnly": "npm run build",
"pretest": "npm run build",
"test": "karma start ./test/karma.config.js"
"test": "karma start ./test/karma.config.js",
"postpublish": "npm publish --ignore-scripts --@github:registry='https://npm.pkg.github.com'"
},
"repository": "github/time-elements",
"devDependencies": {
Expand Down

0 comments on commit f5fd0ae

Please sign in to comment.