add print-version npm script

This commit is contained in:
konnorrogers
2025-06-27 16:14:46 -04:00
parent c2e2e1afcc
commit fa9f18f002

View File

@@ -58,7 +58,8 @@
"spellcheck": "cspell \"**/*.{js,ts,json,html,css,md}\" --no-progress --config=\"../../cspell.json\"", "spellcheck": "cspell \"**/*.{js,ts,json,html,css,md}\" --no-progress --config=\"../../cspell.json\"",
"verify": "npm run prettier && npm run build && npm run test", "verify": "npm run prettier && npm run build && npm run test",
"prepublishOnly": "npm run verify", "prepublishOnly": "npm run verify",
"check-updates": "npx npm-check-updates --interactive --format group" "check-updates": "npx npm-check-updates --interactive --format group",
"print-version": "echo $npm_package_version"
}, },
"engines": { "engines": {
"node": ">=14.17.0" "node": ">=14.17.0"