create-cwe-plugin
v0.2.0
Published
Scaffold a CasinoWebEngine plugin — thin alias for `cwe-plugin create` (use via `pnpm create cwe-plugin <name>`).
Maintainers
Readme
create-cwe-plugin
Scaffold a CasinoWebEngine plugin:
pnpm create cwe-plugin my-cashback
# or: npm create cwe-plugin@latest my-cashbackThis is a thin alias for @cwe-platform/plugin-cli's
cwe-plugin create — all flags are forwarded:
pnpm create cwe-plugin my-provider -- --kind provider --template provider-skeletonTemplates: blank (minimum viable plugin), cashback (dataset + player
actions + nightly cron — the reference plugin shape), provider-skeleton
(game-provider adapter + fake backend + signature-verified callback).
After scaffolding:
cd my-cashback && pnpm install
pnpm dev # hot reload + live logs against your local CWE runtime
pnpm test # unit tests on the in-memory test context