@walkrstudio/create
v0.5.2
Published
Scaffold a new Walkr walkthrough project
Downloads
44
Readme
@walkrstudio/create
Scaffold a new Walkr walkthrough project.
Usage
npm create @walkrstudio@latest my-projectOr interactively:
npm create @walkrstudio@latest
# ➜ prompts for project name and optional descriptionYou can also use npx:
npx create-walkrstudio my-projectWhat you get
my-project/
├── walkthrough.ts # starter walkthrough using @walkrstudio/core
├── package.json # dependencies & dev/export scripts
├── tsconfig.json # TypeScript config (ES2022 / NodeNext)
├── .gitignore
└── README.mdDependencies
@walkrstudio/core— step definitions and walkthrough builder@walkrstudio/engine— playback engine
Scripts
| Script | Command |
| -------------- | ---------------------------------------------------- |
| npm run dev | walkr dev walkthrough.ts — live Studio preview |
| npm run export | walkr export walkthrough.ts — export to MP4 |
Next steps
cd my-project
npm install
npx walkr dev walkthrough.tsEdit walkthrough.ts to point at your app's URL and add your walkthrough steps.
See the @walkrstudio/core README for the full step API.
