2022-04-23 00:42:11 +02:00
{
"name" : "decky-plugin-template" ,
"version" : "0.0.1" ,
"description" : "A template to quickly create decky plugins from scratch, based on TypeScript and webpack" ,
2024-06-13 18:11:44 -04:00
"type" : "module" ,
2022-04-23 00:42:11 +02:00
"scripts" : {
2025-10-10 21:41:05 -07:00
"setup" : "echo 'If you are using alpine linux, do not expect any support.' && pnpm i && pnpm update @decky/ui --latest && ([ -f ./cli/decky ] || pnpm run setup:cli) && (which docker >/dev/null || echo 'Docker not found, you will need it for backend development.')" ,
"setup:cli" : "mkdir -p cli && case \"$(uname -s)-$(uname -m)\" in 'Linux-x86_64') url=decky-linux-x86_64 ;; 'Darwin-x86_64') url=decky-macOS-x86_64 ;; 'Darwin-arm64') url=decky-macOS-aarch64 ;; *) echo \"Unsupported system: $(uname -s)-$(uname -m)\"; exit 1 ;; esac && curl -L \"https://github.com/SteamDeckHomebrew/cli/releases/latest/download/$url\" -o ./cli/decky && chmod +x ./cli/decky" ,
2024-07-08 20:28:57 -04:00
"build" : "rollup -c" ,
2025-10-10 21:41:05 -07:00
"build:plugin" : "pnpm run build && ./cli/decky plugin build ." ,
"build:deploy" : "pnpm run build:plugin && pnpm run deploy" ,
"deploy" : "dotenv -- pnpm run deploy:run" ,
"deploy:run" : "set -e; PLUGIN_SAFE_NAME=$(echo \"$PLUGIN_NAME\" | tr ' ' '-'); SSH_OPTS=\"-C -p $DECK_PORT -o StrictHostKeyChecking=no -o ConnectTimeout=10\"; [ -n \"$DECK_KEY\" ] && SSH_OPTS=\"$SSH_OPTS $DECK_KEY\"; echo \"📦 Deploying 'out/$PLUGIN_NAME.zip' to $DECK_USER@$DECK_IP:$DECK_DIR/homebrew/plugins/$PLUGIN_SAFE_NAME\"; cat \"out/$PLUGIN_NAME.zip\" | ssh $SSH_OPTS $DECK_USER@$DECK_IP \"set -e; mkdir -p '$DECK_DIR/homebrew/plugins/$PLUGIN_SAFE_NAME'; bsdtar -xpf - -C '$DECK_DIR/homebrew/plugins/$PLUGIN_SAFE_NAME' --strip-components=1\"" ,
2022-05-20 18:13:31 -04:00
"watch" : "rollup -c -w" ,
2022-04-23 00:42:11 +02:00
"test" : "echo \"Error: no test specified\" && exit 1"
} ,
"repository" : {
"type" : "git" ,
"url" : "git+https://github.com/SteamDeckHomebrew/decky-plugin-template.git"
} ,
"keywords" : [
"decky" ,
"plugin" ,
"plugin-template" ,
"steam-deck" ,
"deck"
] ,
2024-06-13 18:11:44 -04:00
"author" : "You <you@you.tld>" ,
2022-09-19 14:29:37 -07:00
"license" : "BSD-3-Clause" ,
2022-04-23 00:42:11 +02:00
"bugs" : {
"url" : "https://github.com/SteamDeckHomebrew/decky-plugin-template/issues"
} ,
"homepage" : "https://github.com/SteamDeckHomebrew/decky-plugin-template#readme" ,
"devDependencies" : {
2024-10-03 14:54:11 -06:00
"@decky/rollup" : "^1.0.1" ,
2025-10-10 21:41:05 -07:00
"@decky/ui" : "^4.10.6" ,
2024-06-13 18:11:44 -04:00
"@types/react" : "18.3.3" ,
"@types/react-dom" : "18.3.0" ,
"@types/webpack" : "^5.28.5" ,
2025-10-10 21:41:05 -07:00
"dotenv-cli" : "^7.4.2" ,
2024-10-03 14:54:11 -06:00
"rollup" : "^4.22.5" ,
"typescript" : "^5.6.2"
2022-04-23 00:42:11 +02:00
} ,
"dependencies" : {
2024-10-03 14:54:11 -06:00
"@decky/api" : "^1.1.2" ,
"react-icons" : "^5.3.0" ,
"tslib" : "^2.7.0"
2022-06-14 13:38:29 -07:00
} ,
"pnpm" : {
"peerDependencyRules" : {
"ignoreMissing" : [
"react" ,
"react-dom"
]
}
2022-09-18 17:21:42 -07:00
}
2022-04-23 00:42:11 +02:00
}