summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2020-04-16 14:18:32 +0200
committerAlan Pearce2020-04-16 14:18:32 +0200
commit52ff0ba5e1e9173192493d5a20aacba0a723b571 (patch)
tree939c7e1d1d5450d726e58141736819b649234980
parent64e9be00921dfa2bcaebde0d7a18e59d2176b0d6 (diff)
downloadnixfiles-52ff0ba5e1e9173192493d5a20aacba0a723b571.tar.lz
nixfiles-52ff0ba5e1e9173192493d5a20aacba0a723b571.tar.zst
nixfiles-52ff0ba5e1e9173192493d5a20aacba0a723b571.zip
javascript: add ava shortcuts
-rw-r--r--user/settings/javascript.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/user/settings/javascript.nix b/user/settings/javascript.nix
index dd89c5b3..511de95d 100644
--- a/user/settings/javascript.nix
+++ b/user/settings/javascript.nix
@@ -53,6 +53,10 @@ in
     ava = "pnpx ava";
     avt = "pnpx ava --tap";
     avat = "pnpx ava --tap";
+    avaw = "pnpx ava --watch";
+    avaf = "pnpx ava --fail-fast";
+    avafw = "pnpx ava --fail-fast --watch";
+    avawf = "pnpx ava --fail-fast --watch";
     pino = "pino-pretty";
     mocha = "pnpx mocha";
     prettier = "prettier_d";