Hi there,
Following trying to get validation of certificates in I am hitting this same issue. I have raised an issue for it (
https://github.com/tediousjs/tedious/issues/422 ) as well as doing a bit of a hacky "fix" on my fork. If you use the following line to install from that branch you will get the current master head including all merged changes since 1.14.0.
I don't propose that this is an ideal solution but it feels like it solves the issue enough for me to get use of the changes I need whilst releases or a more permanent change that can provide a postinstall hook are put together.
The key issue is multiple. Firstly, the .npmignore prevents the /scripts and /src directories from being pulled down. Secondly, the prepublish hook is not executed and so the /src directory is not generated into the /lib directory.