1
0
mirror of https://github.com/bertptrs/vimconfig.git synced 2025-12-26 21:10:31 +01:00

Add XDG npm configuration

Add configuration to move npm to a sensible XDG basedir configuration.
Move npmrc to config, cache to cache, and global packages to data.
This commit is contained in:
Bert Peters
2016-11-27 23:03:16 +01:00
parent eb45ffa0d6
commit d4838fd56b
3 changed files with 9 additions and 0 deletions

2
npm/.config/npm/npmrc Normal file
View File

@@ -0,0 +1,2 @@
cache=${XDG_CACHE_HOME}/npm
prefix=${XDG_DATA_HOME}/npm