how about:

    VERSION = $(shell node -e 'console.log(require("./package.json").version)')