From fec9a3c81a0725b814d5f5be17b466c003ef5484 Mon Sep 17 00:00:00 2001 From: Clem Flory Date: Mon, 19 Feb 2024 12:06:58 -0600 Subject: [PATCH] tweak npm scripts --- package.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index fdcf2df..b04794e 100644 --- a/package.json +++ b/package.json @@ -12,8 +12,10 @@ "format": "nx format", "format:check": "nx format:check", "predeploy": "npm run format && npm run lint && npm run test && npm run build", - "deploy:all": "npm run predeploy && node_modules/.bin/firebase deploy --only hosting,firestore", - "deploy:stage": "npm run predeploy && node_modules/.bin/firebase hosting:channel:deploy stage" + "fb": "node_modules/.bin/firebase", + "fb:deploy:all": "npm run predeploy && npm run fb -- deploy --only hosting,firestore", + "fb:hosting:channel:deploy:stage": "npm run predeploy && npm run fb -- hosting:channel:deploy stage", + "fb:hosting:channel:list": "npm run fb -- hosting:channel:list" }, "private": true, "dependencies": {