Skip to content

Commit

Permalink
Merge pull request #2 from obewds/dev
Browse files Browse the repository at this point in the history
adding missing npm scripts pkg:org and tag for npm publishing
  • Loading branch information
oberocks authored Aug 1, 2023
2 parents 057f7f2 + d5cade2 commit b2cf2ab
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
"main": "src/index.js",
"type": "module",
"scripts": {
"build": "tsc"
"build": "tsc",
"pkg:org": "npm config set scope obewds",
"tag": "PACKAGE_VERSION=$(cat package.json | grep \\\"version\\\" | head -1 | awk -F: '{ print $2 }' | sed 's/[\",]//g' | tr -d '[[:space:]]') && git tag v$PACKAGE_VERSION && git push --tags"
},
"files": [
"dist"
Expand Down

0 comments on commit b2cf2ab

Please sign in to comment.