Created
June 17, 2019 08:33
-
-
Save andreasvirkus/84658ca0d29c0ac7d0fad1fdb5078ff8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "ver-extractor", | |
"description": "Get the version from your package.json", | |
"scripts": { | |
"get-version": "node -pe \"require('./package.json').version\"" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment