Skip to content
This repository was archived by the owner on Jan 18, 2022. It is now read-only.

Commit d3f44ea

Browse files
committed
chore: Add script to publish package
1 parent 4601385 commit d3f44ea

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
@@ -12,7 +12,8 @@
1212
"pretest": "npm run lint && npm run build",
1313
"test": "jest",
1414
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 1",
15-
"version": "npm run changelog && git add CHANGELOG.md"
15+
"version": "npm run changelog && git add CHANGELOG.md",
16+
"postversion": "npm publish && git push && git push --tags"
1617
},
1718
"repository": {
1819
"type": "git",

0 commit comments

Comments
 (0)