Trouble with Manage Packages with npm

I am having some difficulties with managing packages with npm, especially 06 npm Test section.
I dont understand how to:
edit your package.json file to make your scripts section look like
this instead:

   "scripts": {  
     "test": "node test.js"  
   },

I get this when I try how-to-npm verify:

Running your test script…

npm-how-to@1.0.0 test /home/ubuntu/workspace
echo “Error: no test specified” && exit 1

Error: no test specified
npm ERR! Test failed. See above for more details.

…done!
Uh oh! The test failed!
Try creating a test that actually works.

Do you actually have a test.js file?
If so, what are the contents?

Its empty. The tutorial says we should create an empty one.

After reading through the problem on github, I think you might be using the wrong command.
Did you run “$ADVENTURE_COMMAND verify”, like the problem specifies, or did you use “node test”?