all repos — nixfiles @ e16d2258053db0061e17ddde99b590de70db418e

System and user configuration, managed by nix and home-manager

javascript: add alias for pruning production dependencies
Alan Pearce alan@alanpearce.eu
Thu, 30 Apr 2020 13:20:01 +0200
commit

e16d2258053db0061e17ddde99b590de70db418e

parent

aa10b99e9623fdd854c6d88506e078572ceb9986

1 files changed, 2 insertions(+), 0 deletions(-)

jump to
M user/settings/javascript.nixuser/settings/javascript.nix
@@ -85,6 +85,7 @@ pmt = "pnpm multi test";     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 @@ npd = "npm uninstall";     npt = "npm test";
     npup = "npm update";
     nppr = "npm prune";
+    npprp = "npm prune --production";
     npli = "npm link";
     npul = "npm unlink";
   };