Package Exports
- @dithrkit/create
- @dithrkit/create/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@dithrkit/create) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@dithrkit/create
Scaffold a new dithr project.
Usage
npm create @dithrkit my-gameOptions
--template, -t <name> Template to use (blank, platformer)
--typescript, --ts Scaffold a TypeScript projectExamples
# JavaScript project with the blank template
npm create @dithrkit my-game
# TypeScript project with the platformer template
npm create @dithrkit my-game --ts --template platformerWhat gets created
my-game/
├── cart.json
├── package.json
├── eslint.config.js
├── .prettierrc
├── .editorconfig
├── .gitignore
├── README.md
├── src/
│ └── main.js (or main.ts)
└── assets/
├── sprites/
├── maps/
├── sfx/
└── music/License
MIT