Add npm script to display current version
Introduced a new script `version:show` to easily display the current project version from the package.json. This enhances developer efficiency by providing quick access to the version number.
This commit is contained in:
@@ -9,7 +9,8 @@
|
||||
"lint": "eslint --ext .ts .",
|
||||
"lint:fix": "eslint --fix --ext .ts .",
|
||||
"test:file": "jest --watch --onlyChanged --coverage=true --verbose",
|
||||
"test:verbose": "jest --verbose"
|
||||
"test:verbose": "jest --verbose",
|
||||
"version:show": "node -e \"console.log(require('./package.json').version)\""
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
Reference in New Issue
Block a user