Scaffold a new project in one command:
pnpm create @sogody/experiment my-experimentBrowse by what you need — same sections as the top navigation.
experiment.config.js, kill-switchThe framework follows a three-step workflow from scaffold to production.
1. Scaffold — Run the create command and answer a handful of prompts. The CLI generates a complete Vite + Preact project with your chosen boilerplate, variation count, and market configuration.
pnpm create @sogody/experiment my-experiment2. Develop — Start the watcher for your active variation. On every save, Vite rebuilds the IIFE bundle and copies it to your clipboard automatically.
cd my-experiment
pnpm start 0 # watches v1, copies to clipboard on savePaste the clipboard contents into Adobe Target's custom code editor and refresh your preview.
3. Ship — Run a production build. Every variation compiles to a self-contained IIFE bundle ready to deploy.
pnpm build
# dist/v1/v1.js
# dist/v2/v2.jsReady to set up your environment? Start with Prerequisites.