A React component that provides a developer-friendly toolbar for interacting with LaunchDarkly during development.
This is a monorepo containing the following packages:
- @launchdarkly/toolbar - The main toolbar component package
- demo - Demo application showcasing the toolbar
For usage instructions and API documentation, see the toolbar package README.
- Node.js 18+
- pnpm
# Install dependencies
pnpm install
# Build all packages
pnpm build
# Run demo in development mode
pnpm demo
# Run toolbar in watch mode
pnpm dev
# Run unit tests
pnpm test
# Run e2e tests (local)
pnpm test:e2e:local
# Run e2e tests (CI)
pnpm test:e2e:ci
pnpm dev
- Build toolbar in watch modepnpm demo
- Run demo applicationpnpm demo:mock
- Run demo with mock flagspnpm build
- Build toolbar for productionpnpm test
- Run unit testspnpm test:e2e:local
- Run E2E tests (local)pnpm test:e2e:ci
- Run E2E tests (CI)pnpm lint
- Run lintingpnpm format
- Format code with Prettierpnpm storybook
- Start Storybook
See CONTRIBUTING.md for development guidelines and contribution instructions.
Apache-2.0