Resolving gruntfile and package.json syntax errors