X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/xdg-ninja.git/blobdiff_plain/b1e9bca3febc4ee29b647b1afcd575acf8edeaa2..7b9ad469a0d95ca4bd6f43d90e8d640f4839594e:/programs/npm.json diff --git a/programs/npm.json b/programs/npm.json index b72361d..e0b9959 100644 --- a/programs/npm.json +++ b/programs/npm.json @@ -1,15 +1,20 @@ { "files": [ { - "path": "$HOME/.npm", + "path": "$HOME/.node-gyp", "movable": true, - "help": "You need to put the following into your npmrc:\n\n```\nprefix=${XDG_DATA_HOME}/npm\ncache=${XDG_CACHE_HOME}/npm\ntmp=${XDG_RUNTIME_DIR}/npm\ninit-module=${XDG_CONFIG_HOME}/npm/config/npm-init.js\n```\n" + "help": "Export the following environment variables:\n\n```bash\nexport NPM_CONFIG_CACHE=\"$XDG_CACHE_HOME\"/npm\n```\n" }, { - "path": "$HOME/.npmrc", + "help": "Export the following environment variables:\n\n```bash\nexport NPM_CONFIG_INIT_MODULE=\"$XDG_CONFIG_HOME\"/npm/config/npm-init.js\nexport NPM_CONFIG_CACHE=\"$XDG_CACHE_HOME\"/npm\nexport NPM_CONFIG_TMP=\"$XDG_RUNTIME_DIR\"/npm\n```\n", "movable": true, - "help": "Export the following environment variables:\n\n```bash\nexport NPM_CONFIG_USERCONFIG=\"$XDG_CONFIG_HOME\"/npm/npmrc \n```\n" + "path": "$HOME/.npm" + }, + { + "help": "Export the following environment variables:\n\n```bash\nexport NPM_CONFIG_USERCONFIG=\"$XDG_CONFIG_HOME\"/npm/npmrc \n```\n", + "movable": true, + "path": "$HOME/.npmrc" } ], "name": "npm" -} \ No newline at end of file +}