[npm] introducing npm

This commit is contained in:
David JULIEN 2021-10-30 15:28:22 +02:00
parent ee9e0e819d
commit 73ac47a773
2 changed files with 5 additions and 0 deletions

4
.config/npm/npmrc Normal file
View File

@ -0,0 +1,4 @@
prefix=${XDG_DATA_HOME}/npm
cache=${XDG_CACHE_HOME}/npm
tmp=${XDG_RUNTIME_DIR}/npm
init-module=${XDG_CONFIG_HOME}/npm/config/npm-init.js

View File

@ -21,6 +21,7 @@ export TEXMFHOME="$XDG_DATA_HOME/texmf"
export CARGO_HOME="$XDG_DATA_HOME/cargo"
export OPAMROOT="$XDG_DATA_HOME/opam"
export COQBIN="$OPAMROOT/default/bin/"
export NPM_CONFIG_USERCONFIG="$XDG_CONFIG_HOME/npm/npmrc"
## default programs
export SUDO_ASKPASS="$HOME/.local/bin/dmenupass"