Skip to content

Commit 108603f

Browse files
committed
publish to GPR as a postpublish step
1 parent ab09d4e commit 108603f

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
@@ -11,7 +11,8 @@
1111
"prebuild": "npm run clean && npm run lint && mkdir dist",
1212
"build": "rollup -c && cp src/index.js.flow dist/index.umd.js.flow && cp src/index.js.flow dist/index.esm.js.flow",
1313
"test": "npm run build",
14-
"prepublishOnly": "npm run build"
14+
"prepublishOnly": "npm run build",
15+
"postpublish": "npm publish --ignore-scripts --@github:registry='https://npm.pkg.github.com'"
1516
},
1617
"keywords": [
1718
"clipboard",

0 commit comments

Comments
 (0)