woocommerce/tools/storybook/package.json

60 lines
2.2 KiB
JSON

{
"name": "@woocommerce/storybook",
"title": "WooCommerce Storybook",
"description": "Storybook implementation for WooCommerce",
"homepage": "https://woocommerce.github.io/woocommerce-admin/#/components/",
"private": true,
"repository": {
"type": "git",
"url": "https://github.com/woocommerce/woocommerce.git"
},
"author": "Automattic",
"license": "GPL-3.0-or-later",
"scripts": {
"build-storybook": "pnpm build-woocommerce && pnpm build-woocommerce-blocks-storybook && ./import-wp-css-storybook.sh && BABEL_ENV=storybook STORYBOOK=true storybook build -c ./.storybook",
"postbuild-storybook": "cp ../../plugins/woocommerce-blocks/storybook/dist/iframe.html ./storybook-static/assets/woocommerce-blocks",
"build-woocommerce": "pnpm --filter=@woocommerce/plugin-woocommerce build",
"build-woocommerce-blocks-storybook": "pnpm --filter=@woocommerce/block-library storybook:build",
"preinstall": "npx only-allow pnpm",
"storybook": "pnpm build-woocommerce && ./import-wp-css-storybook.sh && BABEL_ENV=storybook STORYBOOK=true storybook dev -c ./.storybook -p 6007 --ci",
"storybook-rtl": "USE_RTL_STYLE=true pnpm storybook"
},
"engines": {
"node": "^20.11.1",
"pnpm": "9.1.3"
},
"bugs": {
"url": "https://github.com/woocommerce/woocommerce/issues"
},
"devDependencies": {
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/preset-env": "^7.23.5",
"@babel/preset-react": "7.23.3",
"@babel/preset-typescript": "^7.23.3",
"@babel/runtime": "^7.23.5",
"@storybook/addon-a11y": "7.6.19",
"@storybook/addon-actions": "7.6.19",
"@storybook/addon-console": "^1.2.3",
"@storybook/addon-controls": "7.6.19",
"@storybook/addon-docs": "7.6.19",
"@storybook/addon-links": "7.6.19",
"@storybook/addon-storysource": "7.6.19",
"@storybook/addon-viewport": "7.6.19",
"@storybook/addons": "7.6.19",
"@storybook/api": "7.6.19",
"@storybook/components": "7.6.19",
"@storybook/core-events": "7.6.19",
"@storybook/manager-api": "7.6.19",
"@storybook/react": "7.6.19",
"@storybook/react-webpack5": "7.6.19",
"@storybook/theming": "7.6.19",
"@woocommerce/eslint-plugin": "workspace:*",
"react": "18.3.1",
"react-dom": "18.3.1",
"storybook": "7.6.19",
"typescript": "^5.3.3",
"webpack": "^5.89.0",
"wireit": "0.14.3"
}
}