Wanted to set-up a site with the Storefront API and ran the node-graphql-client sample project. However I found that the dependencies were old.
I ran the npm-check-updates tool (ncu), upgrading the dependencies and fixing a few small things that had changed since. I believe I have kept all of the functionality, and I've tested the commands in package.json.
I am not an expert in node, nor had I used Babel before. It's quite possible there's newer ways of doing things. If those are pointed out I will gladly modify the code some more!
Wanted to set-up a site with the Storefront API and ran the
node-graphql-client
sample project. However I found that the dependencies were old.I ran the
npm-check-updates
tool (ncu
), upgrading the dependencies and fixing a few small things that had changed since. I believe I have kept all of the functionality, and I've tested the commands inpackage.json
.I am not an expert in node, nor had I used Babel before. It's quite possible there's newer ways of doing things. If those are pointed out I will gladly modify the code some more!