summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2020-04-30 13:20:01 +0200
committerAlan Pearce2020-04-30 13:24:45 +0200
commite16d2258053db0061e17ddde99b590de70db418e (patch)
treec4c529155c8a1395425daba381a231fecd1bbc0c
parentaa10b99e9623fdd854c6d88506e078572ceb9986 (diff)
downloadnixfiles-e16d2258053db0061e17ddde99b590de70db418e.tar.lz
nixfiles-e16d2258053db0061e17ddde99b590de70db418e.tar.zst
nixfiles-e16d2258053db0061e17ddde99b590de70db418e.zip
javascript: add alias for pruning production dependencies
-rw-r--r--user/settings/javascript.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/user/settings/javascript.nix b/user/settings/javascript.nix
index 511de95d..24baf125 100644
--- a/user/settings/javascript.nix
+++ b/user/settings/javascript.nix
@@ -85,6 +85,7 @@ in
     pmit = "pnpm multi install-test";
     pup = "pnpm update";
     ppr = "pnpm prune";
+    pprp = "pnpm prune --production";
     pli = "pnpm link";
     pdi = "pnpm dislink";
     pul = "pnpm unlink";
@@ -101,6 +102,7 @@ in
     npt = "npm test";
     npup = "npm update";
     nppr = "npm prune";
+    npprp = "npm prune --production";
     npli = "npm link";
     npul = "npm unlink";
   };