npm Community Forum (Archive)

The npm community forum has been discontinued.

To discuss usage of npm, visit the GitHub Support Community.

Run test before publish (treat test as prepublishOnly)

It is often a good idea to test before publishing a package, but it is inconvenient to always have to write prepublishOnly to automate this. So I ask to make this behavior default.