Skip to content

Commit 37e6894

Browse files
authored
Merge pull request #9 from github/publish-to-gpr-as-well
Publish to GPR as a postpublish step
2 parents 9dbbe62 + 2dec9ce commit 37e6894

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
"build": "rollup -c && cp src/task-lists-element.js.flow dist/index.esm.js.flow && cp src/task-lists-element.js.flow dist/index.umd.js.flow",
1414
"pretest": "npm run build",
1515
"test": "karma start test/karma.config.js",
16-
"prepublishOnly": "npm run build"
16+
"prepublishOnly": "npm run build",
17+
"postpublish": "npm publish --ignore-scripts --@github:registry='https://npm.pkg.github.com'"
1718
},
1819
"keywords": [
1920
"task",

0 commit comments

Comments
 (0)