mirror of
https://github.com/SteamDeckHomebrew/decky-plugin-template.git
synced 2025-11-09 02:07:29 -06:00
separate build_frontend and pip_install
This commit is contained in:
parent
561751e028
commit
4168582b59
1 changed files with 3 additions and 2 deletions
|
|
@ -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"
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue