forked from lelandrichardson/react-primitives
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.happo.js
40 lines (34 loc) · 955 Bytes
/
.happo.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
module.exports = {
// Control the interface on which the local server listens (defaults to 'localhost')
// (default: 'localhost')
// bind: '0.0.0.0',
// Control the port used for the local server
// (default: 4567)
// port: 7777,
// List javascript source files. These can be files or raw URLs.
// (default: [])
sourceFiles: [
'example/web/dist/happo.bundle.js',
],
// List css source files. These can also be files or raw URLs.
// (default: [])
stylesheets: [
// 'application.css',
],
// List directories where public files are accessible (useful for e.g. font files)
// (default: [])
publicDirectories: [
'example',
],
// Specify the folder where snapshots are saved
// (default: 'snapshots')
// snapshotsFolder: 'happo-snapshots',
// Configure the window size when taking snapshots
// (defaults shown below)
viewports: {
small: {
width: 375,
height: 667,
},
},
};