agaric-coop/box/provisioning/roles/geerlingguy.nodejs/templates/npm.sh.j2

3 lines
164 B
Django/Jinja

export PATH={{ npm_config_prefix }}/bin:$PATH
export NPM_CONFIG_PREFIX={{ npm_config_prefix }}
export NODE_PATH=$NODE_PATH:{{ npm_config_prefix }}/lib/node_modules