UNPKG

971 BJavaScriptView Raw
1'use strict';
2
3Object.defineProperty(exports, "__esModule", {
4 value: true
5});
6var docs = exports.docs = 'Documentation: https://percy.io/percy-storybook';
7
8var options = exports.options = {
9 widths: {
10 alias: 'w',
11 description: 'Comma seperated lists of widths',
12 requiresArg: true
13 },
14 minimum_height: {
15 description: 'Minimum height for the screenshot (integer)',
16 requiresArg: true
17 },
18 debug: {
19 alias: 'd',
20 description: 'Debug mode',
21 requiresArg: false
22 },
23 build_dir: {
24 alias: 'b',
25 description: 'Directory to load the static storybook built by build-storybook from',
26 requiresArg: true
27 },
28 rtl: {
29 description: 'Runs stories a second time with a direction parameter set to rtl',
30 requiresArg: false
31 },
32 rtl_regex: {
33 description: 'Runs stories with matching names a second time with direction param of rtl',
34 requiresArg: true
35 }
36};
37
38var usage = exports.usage = 'Usage: $0 --widths=320,1280 --debug';
\No newline at end of file