Skip to content


package.json should define test deps in `devDependencies` #8

isaacs opened this Issue · 4 comments

2 participants


Otherwise installing with npat turned on fails, because it can't find the test runner.

winstonjs member

What is npat?


It's cpants for npm :)

You can join the party now, if you want: npm config set npat true, and then installs will fail if tests fail. In a future release, it'll also upload test success/failure data to a server, so package authors can see where their stuff works and where it doesn't.

winstonjs member

These tests will fail anyway. Because the user needs to configure their own loggly account before running them. It's in the docs.

I feel like this npat thing (while nice) is pretty edge case. Maybe it should just look in both places?


If you install with --npat set, then it'll install devDependencies as well, since that's where test stuff usually goes.

The loggly tests exit successfully with a message on my machine if I install vows first. So, they "pass", albeit trivially.

@indexzero indexzero added a commit that closed this issue
@indexzero indexzero [dist] Update package.json, and .gitignore. Update require statements…
… to be more future proof. Fixes #8
@indexzero indexzero closed this in 2e92b49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.