From 6c66daf26bfab12a235654cbf926585632c9a766 Mon Sep 17 00:00:00 2001 From: Brian McGee Date: Wed, 1 May 2024 09:14:43 +0100 Subject: [PATCH] fix: devshell commands for docs Signed-off-by: Brian McGee --- nix/docs.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nix/docs.nix b/nix/docs.nix index 50a921a..e595896 100644 --- a/nix/docs.nix +++ b/nix/docs.nix @@ -35,19 +35,19 @@ _: { inherit category; name = "docs:dev"; help = "serve docs for local development"; - command = "cd $PRJ_ROOT/docs && npm dev"; + command = "cd $PRJ_ROOT/docs && npm run dev"; } { inherit category; name = "docs:build"; help = "create a production build of docs"; - command = "cd $PRJ_ROOT/docs && npm build"; + command = "cd $PRJ_ROOT/docs && npm run build"; } { inherit category; name = "docs:preview"; help = "preview a production build of docs"; - command = "cd $PRJ_ROOT/docs && npm preview"; + command = "cd $PRJ_ROOT/docs && npm run preview"; } { inherit category;