I'm introducing unit testing in my project and for this, I need to make myself a package.json
file.
First question is, which unit testing suite
are you using? I'm looking forward mocha
which seem to be pretty much standard for Node.js
projects.
Second question is: Is there any magical way of generating a package.json
file? (for dependencies and versions)
Third question is: I've been testing a lot of npm packages
while developing my project and now I'm stuck with a lot of probably unused packages. Is there any way to tell which one are useless? (I saw npm list installed
which is useful though)