chromatic
Version:
Automate visual testing across browsers. Gather UI feedback. Versioned documentation.
12 lines (9 loc) • 427 B
JavaScript
import chalk from 'chalk';
import dedent from 'ts-dedent';
import { error } from '../../components/icons';
export default (buildScriptName) =>
dedent(chalk`
${error} {bold Build script not found}
The CLI didn't find a script called {bold "${buildScriptName}"} in your {bold package.json}.
Make sure you set the {bold --build-script-name} option to the value of the script name that builds your Storybook.
`);