Skip to content

Commit 26c9029

Browse files
authored
Merge pull request #5 from github/publish-to-gpr-as-well
Publish to GPR as a postpublish step
2 parents 98396a4 + 009f259 commit 26c9029

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
@@ -12,7 +12,8 @@
1212
"build": "rollup -c && cp src/index.js.flow dist/index.esm.js.flow && cp src/index.js.flow dist/index.umd.js.flow",
1313
"pretest": "npm run build && rollup -c rollup.config.test.js",
1414
"test": "karma start test/karma.config.js",
15-
"prepublishOnly": "npm run build"
15+
"prepublishOnly": "npm run build",
16+
"postpublish": "npm publish --ignore-scripts --@github:registry='https://npm.pkg.github.com'"
1617
},
1718
"keywords": [
1819
"auto-complete",

0 commit comments

Comments
 (0)