summaryrefslogtreecommitdiff
path: root/.config/npm
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2023-08-19 14:32:19 +0200
committerThomas Voss <mail@thomasvoss.com> 2023-08-19 14:32:19 +0200
commitcb56322ac25787c18772a16abdea30665ccf2327 (patch)
tree611978d5092e163764505082659ff3cacc4b7441 /.config/npm
parent243b088e77daace773304f2a8432c5a011c61a7d (diff)
npm: Add npm configuration
Diffstat (limited to '.config/npm')
-rw-r--r--.config/npm/npmrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/.config/npm/npmrc b/.config/npm/npmrc
new file mode 100644
index 0000000..c2da224
--- /dev/null
+++ b/.config/npm/npmrc
@@ -0,0 +1,3 @@
+prefix=${XDG_DATA_HOME}/npm
+cache=${XDG_CACHE_HOME}/npm
+init-module=${XDG_CONFIG_HOME}/npm/config/npm-init.js