| Command | Purpose |
|---|---|
npm ci |
Install exact dependency versions from the lockfile |
npm run build |
Compile SCSS and TypeScript into production assets |
npm run watch |
Watch for file changes and recompile automatically |
npm run lint |
Run ESLint and Stylelint |
npm run format |
Run Prettier |
npm run storybook |
Launch Storybook component explorer |
Run npm ci first to install dependencies, then npm run build to compile. During development, npm run watch recompiles on every file save.
.nvmrc file. If you use nvm, run nvm use in the theme directory to automatically switch to the correct Node.js version.Hummingbird includes Docker Compose configurations that mount your theme directory automatically. See Environment setup for setup instructions and available images.
For the full Docker configuration details, see the Hummingbird README.
Hummingbird ships with Storybook for isolated component development. Start it with:
npm run storybook
This opens a component explorer where you can develop and review UI components without a running PrestaShop instance.
If styles or templates don’t update during development:
In the Back Office under Advanced Parameters > Performance:
If npm run watch is running but compiled files are not updating:
src/. Files in assets/ are the compiled output and should not be edited directly