rvvmia
Last Updated: November 02, 2017
·
2.91K
· iondrimba
178548

Get package.json version number

Very simple way of getting the version of the package.json file.

In your gulpfile.js you can do something like this:

var pckg = require('./package.json');
console.log(pckg.version);
Say Thanks
Respond