From a8b644fb48b71774d177ff2215c6e58ab7407de3 Mon Sep 17 00:00:00 2001 From: Matthew Bell <33056264+matthew2564@users.noreply.github.com> Date: Mon, 2 Sep 2024 11:25:46 +0100 Subject: [PATCH] feat: add default zip_name --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 23f50d3..f62ebf8 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "build:copy": "find src -type f \\( -name \"*.yml\" -or -name \"*.json\" \\) | cpio -pdm .build && find tests -type f \\( -name \"*.yml\" -or -name \"*.json\" \\) | cpio -pdm .build", "test": "npm run test:unit -- --runInBand --coverage", "test:unit": "BRANCH=local jest --testMatch=\"**/*.unitTest.ts\"", - "package": "ts-node package.ts && cd ${ZIP_NAME}; zip -r ../${ZIP_NAME}.zip *", + "package": "ts-node package.ts && cd ${ZIP_NAME:-'authoriser'}; zip -r ../${ZIP_NAME:-'authoriser'}.zip *", "test-i": "echo \"No Current Int Tests\"", "commit-msg": "commitlint --edit", "pre-commit": "npm run audit && npm run lint && npm run format",