Set up MirajeJS in Storybook
Allow using MirajeJS to mock API requests in Storybook. Improves the yarn storybook:start command to prompt the user about generating the fixtures needed by MirajeJS.
Showing
... | ... | @@ -40,7 +40,7 @@ |
"postinstall": "node ./scripts/frontend/postinstall.js", | ||
"storybook:install": "yarn --cwd ./storybook install", | ||
"storybook:build": "yarn --cwd ./storybook build", | ||
"storybook:start": "yarn --cwd ./storybook start", | ||
"storybook:start": "./scripts/frontend/start_storybook.sh", | ||
"stylelint-create-utility-map": "node scripts/frontend/stylelint/stylelint-utility-map.js", | ||
"webpack": "NODE_OPTIONS=\"--max-old-space-size=3584\" webpack --config config/webpack.config.js", | ||
"webpack-vendor": "NODE_OPTIONS=\"--max-old-space-size=3584\" webpack --config config/webpack.vendor.config.js", | ||
... | ... |
Please register or sign in to comment