1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192 |
- /*
- |--------------------------------------------------------------------------
- | Browser-sync config file
- |--------------------------------------------------------------------------
- |
- | For up-to-date information about the options:
- | http://www.browsersync.io/docs/options/
- |
- | There are more options than you see here, these are just the ones that are
- | set internally. See the website for more info.
- |
- |
- */
- module.exports = {
- "ui": {
- "port": 3001,
- "weinre": {
- "port": 8080
- }
- },
- "files": [ "examples/bundle/*"],
- "index": "index.html",
- "watchOptions": {},
- "server": true,
- "proxy": false,
- "port": 3000,
- "middleware": false,
- "serveStatic": ["examples/bundle"],
- "ghostMode": {
- "clicks": true,
- "scroll": true,
- "forms": {
- "submit": true,
- "inputs": true,
- "toggles": true
- }
- },
- "logLevel": "info",
- "logPrefix": "BS",
- "logConnections": false,
- "logFileChanges": true,
- "logSnippet": true,
- "rewriteRules": false,
- "open": "local",
- "browser": "default",
- "xip": false,
- "hostnameSuffix": false,
- "reloadOnRestart": false,
- "notify": true,
- "scrollProportionally": true,
- "scrollThrottle": 0,
- "scrollRestoreTechnique": "window.name",
- "reloadDelay": 0,
- "reloadDebounce": 0,
- "plugins": [],
- "injectChanges": true,
- "startPath": null,
- "minify": true,
- "host": null,
- "codeSync": true,
- "timestamps": true,
- "clientEvents": [
- "scroll",
- "input:text",
- "input:toggles",
- "form:submit",
- "form:reset",
- "click"
- ],
- "socket": {
- "socketIoOptions": {
- "log": false
- },
- "path": "/browser-sync/socket.io",
- "clientPath": "/browser-sync",
- "namespace": "/browser-sync",
- "clients": {
- "heartbeatTimeout": 5000
- }
- },
- "tagNames": {
- "less": "link",
- "scss": "link",
- "css": "link",
- "jpg": "img",
- "jpeg": "img",
- "png": "img",
- "svg": "img",
- "gif": "img",
- "js": "script"
- }
- };
|