@itemconsulting/preset-enonic-xp
v0.0.4
Published
Preset for using Storybook with Enonic XP
Downloads
20
Readme
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