watson / ci-info

Get details about the current Continuous Integration environment
MIT License
321 stars 50 forks source link

Add `files` to `package.json`. #1

Closed wtgtybhertgeghgtwtg closed 7 years ago

wtgtybhertgeghgtwtg commented 7 years ago

Prevents .travis.yml and test.js from being published to NPM.

watson commented 7 years ago

@wtgtybhertgeghgtwtg Though it would be nice to be able to limit this, I'm really not keen on using the files property, as I don't know of any way to detect if I remember to keep that field up to date. The issue is that my tests will have all files available, so they will not discover when a file isn't added, but I might publish broken packages to npm. Let me know if you have any good solution to this and I'll happily reevaluate this PR 😃