Unify testing with npm

My Gist: https://gist.github.com/pulkitsinghal/d53ad3538e153e6003a99139715beed3

Reading Material:

Even docker mixes npm scripts with docker and mocha tests very well: https://engineering.gosquared.com/testing-with-docker

Some people prefer to use grunt commands to make it easy, like: grunt test:e2e can be setup and configured to take care of running all tests without knowing much about underlying stuff. But it would be nicer if same could be accomplished via the scripts in package.json instead.

Last updated