Skip to content

Commit 0267bac

Browse files
authored
Merge pull request #23 from github/publish-to-gpr-as-well
Publish to GPR as a postpublish step
2 parents a35fe5b + b9191e0 commit 0267bac

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
@@ -17,7 +17,8 @@
1717
"build": "npm run build-umd && npm run build-esm && cp index.js.flow dist/index.umd.js.flow && cp index.js.flow dist/index.esm.js.flow",
1818
"pretest": "npm run build",
1919
"prepublishOnly": "npm run build",
20-
"test": "karma start test/karma.config.js"
20+
"test": "karma start test/karma.config.js",
21+
"postpublish": "npm publish --ignore-scripts --@github:registry='https://npm.pkg.github.com'"
2122
},
2223
"keywords": [
2324
"crop",

0 commit comments

Comments
 (0)