From 49c3093a995bf979ea50673916e2f4ecadc5116e Mon Sep 17 00:00:00 2001 From: Luis Finke Date: Wed, 4 Jan 2023 17:26:24 -0500 Subject: [PATCH] always create requirements.txt, even if empty --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index d9d306b..432483e 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "version": "0.0.1", "description": "A template to quickly create decky plugins from scratch, based on TypeScript and webpack", "scripts": { - "prepare": "if [ -f requirements.txt ]; then\n\tpip3 install -U -r requirements.txt -t py_modules\nfi", + "prepare": "touch requirements.txt && pip3 install --upgrade -r requirements.txt -t py_modules", "build": "shx rm -rf dist && rollup -c", "watch": "rollup -c -w", "test": "echo \"Error: no test specified\" && exit 1"