TypeScript SDK for building campaign pages on NextCommerce. Provides cart management, checkout flows, upsell sequences, and analytics through a data-attribute-driven HTML API.
- Docs: developers.nextcommerce.com/docs/campaigns
- Starter templates: github.com/NextCommerceCo/campaign-cart-starter-templates
| Task | Command |
|---|---|
| Dev server | npm run dev |
| Build | npm run build |
| Type check | npm run type-check |
| Lint | npm run lint |
| Unit tests | npm run test |
| E2E tests | npm run test:e2e |
See CLAUDE.md for architecture overview and contribution guidelines.