sorry, my fault, should be `var pkg = require('./package.json');`