{
"files": [
{
- "path": "$HOME/.npm",
+ "help": "You need to put the following into your npmrc:\n\n```\nprefix=${XDG_DATA_HOME}/npm\ncache=${XDG_CACHE_HOME}/npm\ninit-module=${XDG_CONFIG_HOME}/npm/config/npm-init.js\ntmp=${XDG_RUNTIME_DIR}/npm\n```\n\n_Note: the `tmp` option has been removed in more recent versions of npm, including it will generate a warning._\n",
"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"
+ "path": "$HOME/.npm"
},
{
- "path": "$HOME/.npmrc",
+ "help": "Export the following environment variables:\n\n```bash\nexport NPM_CONFIG_USERCONFIG=\"$XDG_CONFIG_HOME\"/npm/npmrc \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/.npmrc"
}
],
"name": "npm"