babel-plugin-git-version

v0.1.4
Expose the current commit's hash and the name of "nearest" tag as constants in your code. Useful to quickly find out what version of your application is deployed.

generate

yo @renke/node-lib

check

eslint src test

watch:check

watch "npm run check --silent"

test

mocha --compilers js:babel-register

watch:test

mocha --compilers js:babel-register --watch

prepublish

npm run --production build

build

babel src --out-dir lib

watch:build

babel src --out-dir lib --watch

Metadata

  • ISC
  • Whatever
  • Renke Grunwald
  • released 2/13/2016

Downloads

Maintainers