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:
2024-08-14 19:55:11 +02:00
parent 6f3b740c55
commit 1389dfc947

View File

@@ -9,7 +9,8 @@
"lint": "eslint --ext .ts .", "lint": "eslint --ext .ts .",
"lint:fix": "eslint --fix --ext .ts .", "lint:fix": "eslint --fix --ext .ts .",
"test:file": "jest --watch --onlyChanged --coverage=true --verbose", "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": { "repository": {
"type": "git", "type": "git",