Skip to content
This repository was archived by the owner on Oct 21, 2021. It is now read-only.

Commit ba14d58

Browse files
authored
Merge pull request #7 from github/publish-to-gpr-as-well
Publish to GPR as a postpublish step
2 parents 297aa2c + 1f55216 commit ba14d58

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
@@ -14,7 +14,8 @@
1414
"build-esm": "BABEL_ENV=esm babel index.js -o dist/index.esm.js && cp index.js.flow dist/index.esm.js.flow",
1515
"build": "npm run build-umd && npm run build-esm && cp index.d.ts dist/index.d.ts",
1616
"test": "BABEL_ENV=umd mocha --require @babel/register && tsc --noEmit --strict test/test.ts",
17-
"prepublishOnly": "npm run build"
17+
"prepublishOnly": "npm run build",
18+
"postpublish": "npm publish --ignore-scripts --@github:registry='https://npm.pkg.github.com'"
1819
},
1920
"keywords": [
2021
"flow",

0 commit comments

Comments
 (0)