From 4168582b59fa92287284c7cf2363aed848223cd0 Mon Sep 17 00:00:00 2001 From: Luis Finke Date: Fri, 30 Dec 2022 10:45:57 -0500 Subject: [PATCH] separate build_frontend and pip_install --- package.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index ea570d7..59ab4b0 100644 --- a/package.json +++ b/package.json @@ -3,8 +3,9 @@ "version": "0.0.1", "description": "A template to quickly create decky plugins from scratch, based on TypeScript and webpack", "scripts": { - "pipinstall": "if [ -f requirements.txt ]; then\n\tpip install -U -r requirements.txt -t py_modules\nfi", - "build": "pnpm run pipinstall && shx rm -rf dist && rollup -c", + "pip_install": "if [ -f requirements.txt ]; then\n\tpip install -U -r requirements.txt -t py_modules\nfi", + "build_frontend": "shx rm -rf dist && rollup -c", + "build": "pnpm run pipinstall && pnpm run build_frontend", "watch": "rollup -c -w", "test": "echo \"Error: no test specified\" && exit 1" },