X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/xdg-ninja.git/blobdiff_plain/47a995364ae7eabff5046702cce0fc7604f2fff7..4fd75ef894f5bee5a7c83cd2d5f51dfb6ae72860:/programs/npm.json diff --git a/programs/npm.json b/programs/npm.json index b72361d..27c03bc 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": "You need to put the following into your npmrc:\n\n```\ncache=${XDG_CACHE_HOME}/npm\n```\n" }, { - "path": "$HOME/.npmrc", + "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": "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 +}