X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/xdg-ninja.git/blobdiff_plain/b1e9bca3febc4ee29b647b1afcd575acf8edeaa2..fc5dff23b36685515cbc036bce7dc46e3761dbee:/programs/npm.json diff --git a/programs/npm.json b/programs/npm.json index b72361d..dc15fb6 100644 --- a/programs/npm.json +++ b/programs/npm.json @@ -1,15 +1,15 @@ { "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" -} \ No newline at end of file +}