0.0.3 • Published 3 months ago
@itemconsulting/preset-enonic-xp v0.0.3
Enonic XP preset for Storybook
Storybook preset for integrating with Enonic XP
Usage
Install the package in your project.
npm i --save @itemconsulting/preset-enonic-xp
Add the preset to your main.ts (or main.js) file.
import type { StorybookConfig } from "@storybook/server-webpack5";
const config: StorybookConfig = {
addons: [
'@itemconsulting/preset-enonic-xp'
],
};
export default config;
Running tests
Unit tests can be run with the following command
npm run build && node --test