How can I install npm dependencies manually using meteor -
i need install npm dependencies described on packages.json file manually (by manually mean command npm install
or mrt install
, doesn't require start app).
i know meteor-npm
creates npm directory inside packages , when start app using mrt
or meteor
npm modules downloaded.
but i'm writing test script , need modules installed before running tests need install them install standard meteorite modules mrt install
.
in theory easy, because run npm install packagename
in project directory. however, of course mess meteor, try interpret new files meteor files.
instead, have 2 options:
- install in super directory (they found):
cd .. && npm install packagename
- install packages globally:
npm install -g packagename
Comments
Post a Comment