Converting EJS and JSON to NPM dependencies