Set NPM prefix to local user directory.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Thu, 26 Dec 2013 17:48:19 +0200
changeset 655 2565437c1410
parent 654 88c5d34d3032
child 658 486f006987f3
child 659 ee46e88fe001
Set NPM prefix to local user directory.
.env
.npmrc
Makefile
--- a/.env	Thu Dec 26 17:45:41 2013 +0200
+++ b/.env	Thu Dec 26 17:48:19 2013 +0200
@@ -58,3 +58,5 @@
 
 export GRADLE_OPTS='-Dorg.gradle.daemon=true'
 
+export PATH=$PATH:/home/user/.npm-packages/bin
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/.npmrc	Thu Dec 26 17:48:19 2013 +0200
@@ -0,0 +1,1 @@
+prefix = ${HOME}/.npm-packages
--- a/Makefile	Thu Dec 26 17:45:41 2013 +0200
+++ b/Makefile	Thu Dec 26 17:48:19 2013 +0200
@@ -43,7 +43,7 @@
     .fvwm .xxkbrc .xmodmaprc \
     .inputrc .minttyrc .Xdefaults .xinitrc .xserverrc .screenrc .dircolors \
     .env .bashrc .bash_completion .bash_completion.d .zshrc .vimrc .ssh \
-    .pylintrc .pystartup .tclshrc \
+    .pylintrc .pystartup .tclshrc .npmrc \
     .guile \
     .sqshrc \
     .signature .muttrc .tidy \