This is not gulp specific.
var p = require('./package.json')
p.homepage
UPDATE:
Be aware that “require” will cache the read results – meaning you cannot require, write to the file, then require again and expect the results to be updated.
This is not gulp specific.
var p = require('./package.json')
p.homepage
UPDATE:
Be aware that “require” will cache the read results – meaning you cannot require, write to the file, then require again and expect the results to be updated.