pcmt/bs.js
leo 97ea29d043
All checks were successful
continuous-integration/drone/push Build is passing
add user listing
2023-05-22 03:22:58 +02:00

119 lines
2.9 KiB
JavaScript

/**
* Copyright 2023 wanderer <a_mirre at utb dot cz>
* SPDX-License-Identifier: AGPL-3.0-only
*/
/*
|--------------------------------------------------------------------------
| 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": 3003
},
/* "files": true, */
"files": ["templates/*.tmpl", "templates/*/*.tmpl", "assets/input/css/*.css", "assets/public/js/*.js", "assets/public/css/*.css"],
"watchEvents": [
"change"
],
"watch": false,
"ignore": [],
"single": false,
"watchOptions": {
"ignoreInitial": true
},
"server": false,
"proxy": "localhost:3000",
"port": 3002,
"middleware": false,
"serveStatic": [],
"ghostMode": {
"clicks": true,
"scroll": true,
"location": true,
"forms": {
"submit": true,
"inputs": true,
"toggles": true
}
},
"logLevel": "info",
"logPrefix": "Browsersync",
"logConnections": false,
"logFileChanges": true,
"logSnippet": true,
"rewriteRules": [],
"open": "local",
/* this is the true command, i.e. no browser */
"browser": "true",
"online": false,
"cors": false,
"xip": false,
"hostnameSuffix": false,
"reloadOnRestart": false,
"notify": false,
"scrollProportionally": true,
"scrollThrottle": 0,
"scrollRestoreTechnique": "window.name",
"scrollElements": [],
"scrollElementMapping": [],
"reloadDelay": 90,
"reloadDebounce": 500,
"reloadThrottle": 0,
/* "plugins": [], */
plugins: ["bs-html-injector?files[]=*.tmpl"],
"injectChanges": true,
"startPath": null,
"minify": true,
/* "host": "localhost:3000", */
"host": null,
"localOnly": true,
"codeSync": true,
"timestamps": true,
"clientEvents": [
"scroll",
"scroll:element",
"input:text",
"input:toggles",
"form:submit",
"form:reset",
"click"
],
"socket": {
"socketIoOptions": {
"log": false
},
"socketIoClientConfig": {
"reconnectionAttempts": 50
},
"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"
},
"injectNotification": false
};