@dreams-engine/common
v1.0.2
Published
Shared TypeScript configs and build scripts used internally across the `@dreams-engine` packages.
Readme
@dreams-engine/common
Shared TypeScript configs and build scripts used internally across the @dreams-engine packages.
What's inside
configs/tsconfig.base.json— Base TypeScript compiler options extended by all packagesconfigs/eslint.base.json— Shared ESLint configconfigs/prettier.config.js— Shared Prettier configscripts/asset-pack-vite-plugin.ts— Vite plugin for asset packing (used during game builds)
Usage
This package is a dependency of the other @dreams-engine packages. You don't need to install it directly — it is pulled in automatically.
If you are building a package that extends @dreams-engine and want to reuse the shared configs:
npm i @dreams-engine/common// tsconfig.json
{
"extends": "@dreams-engine/common/configs/tsconfig.base.json"
}Part of @dreams-engine
| Package | Description |
|---|---|
| @dreams-engine/engine | PixiJS v8 application framework |
| @dreams-engine/slot | Slot machine, reels, spin behaviors |
| @dreams-engine/slot-flow | Command/runner win presentation |
| @dreams-engine/slot-state | XState v5 game flow state machines |
| @dreams-engine/common | This package — Shared configs |
