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