mirror of
https://github.com/SteamDeckHomebrew/decky-plugin-template.git
synced 2025-11-08 09:51:10 -06:00
use prepare script for installing python modules
This commit is contained in:
parent
4168582b59
commit
77754a970d
1 changed files with 2 additions and 3 deletions
|
|
@ -3,9 +3,8 @@
|
||||||
"version": "0.0.1",
|
"version": "0.0.1",
|
||||||
"description": "A template to quickly create decky plugins from scratch, based on TypeScript and webpack",
|
"description": "A template to quickly create decky plugins from scratch, based on TypeScript and webpack",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"pip_install": "if [ -f requirements.txt ]; then\n\tpip install -U -r requirements.txt -t py_modules\nfi",
|
"prepare": "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": "shx rm -rf dist && rollup -c",
|
||||||
"build": "pnpm run pipinstall && pnpm run build_frontend",
|
|
||||||
"watch": "rollup -c -w",
|
"watch": "rollup -c -w",
|
||||||
"test": "echo \"Error: no test specified\" && exit 1"
|
"test": "echo \"Error: no test specified\" && exit 1"
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue