Npm scripts on Meteor


Just wondering if anyone on has the following issue.


If you depend on modules that define executable scripts, like test suites, then those executables will be added to the PATH for executing the scripts. So, if your package.json has this:

{ “name” : “foo”
, “dependencies” : { “bar” : “0.1.x” }
, “scripts”: { “start” : “bar ./test” } }

then you could run npm start to execute the bar script, which is exported into the node_modules/.bin directory on npm install.

However, I have noticed that typings even if it was a dev dependency and it is in node_modules/.bin, meteor npm install fails to start up that script.