123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147 |
- {
- "server": {
- "alias": "s",
- "desc": "Run a Local server (uses your cwd as the web root)"
- },
- "cwd": {
- "type": "string",
- "desc": "Working directory"
- },
- "json": {
- "type": "boolean",
- "desc": "If true, certain logs will output as json only"
- },
- "serveStatic": {
- "type": "array",
- "alias": "ss",
- "desc": "Directories to serve static files from"
- },
- "port": {
- "type": "number",
- "desc": "Specify a port to use"
- },
- "proxy": {
- "alias": "p",
- "desc": "Proxy an existing server",
- "example": "$0 shane is cool"
- },
- "ws": {
- "type": "boolean",
- "desc": "Proxy mode only - enable websocket proxying"
- },
- "browser": {
- "type": "array",
- "alias": "b",
- "desc": "Choose which browser should be auto-opened"
- },
- "watch": {
- "type": "boolean",
- "alias": "w",
- "desc": "Watch files"
- },
- "ignore": {
- "type": "array",
- "desc": "Ignore patterns for file watchers"
- },
- "files": {
- "type": "array",
- "alias": "f",
- "desc": "File paths to watch"
- },
- "index": {
- "type": "string",
- "desc": "Specify which file should be used as the index page"
- },
- "plugins": {
- "type": "array",
- "desc": "Load Browsersync plugins"
- },
- "extensions": {
- "type": "array",
- "desc": "Specify file extension fallbacks"
- },
- "startPath": {
- "type": "string",
- "desc": "Specify the start path for the opened browser"
- },
- "single": {
- "type": "boolean",
- "desc": "If true, the connect-history-api-fallback middleware will be added"
- },
- "https": {
- "desc": "Enable SSL for local development"
- },
- "directory": {
- "type": "boolean",
- "desc": "Show a directory listing for the server"
- },
- "xip": {
- "type": "boolean",
- "desc": "Use xip.io domain routing"
- },
- "tunnel": {
- "desc": "Use a public URL"
- },
- "open": {
- "type": "string",
- "desc": "Choose which URL is auto-opened (local, external or tunnel), or provide a url"
- },
- "cors": {
- "type": "boolean",
- "desc": "Add Access Control headers to every request"
- },
- "config": {
- "type": "string",
- "alias": "c",
- "desc": "Specify a path to a configuration file"
- },
- "host": {
- "desc": "Specify a hostname to use"
- },
- "listen": {
- "desc": "Specify a hostname bind to (this will prevent binding to all interfaces)"
- },
- "logLevel": {
- "desc": "Set the logger output level (silent, info or debug)"
- },
- "reload-delay": {
- "type": "number",
- "desc": "Time in milliseconds to delay the reload event following file changes"
- },
- "reload-debounce": {
- "type": "number",
- "desc": "Restrict the frequency in which browser:reload events can be emitted to connected clients"
- },
- "ui-port": {
- "type": "number",
- "desc": "Specify a port for the UI to use"
- },
- "watchEvents": {
- "type": "array",
- "desc": "Specify which file events to respond to"
- },
- "no-notify": {
- "desc": "Disable the notify element in browsers"
- },
- "no-open": {
- "desc": "Don't open a new browser window"
- },
- "no-snippet": {
- "desc": "Disable the snippet injection"
- },
- "no-online": {
- "desc": "Force offline usage"
- },
- "no-ui": {
- "desc": "Don't start the user interface"
- },
- "no-ghost-mode": {
- "desc": "Disable Ghost Mode"
- },
- "no-inject-changes": {
- "desc": "Reload on every file change"
- },
- "no-reload-on-restart": {
- "desc": "Don't auto-reload all browsers following a restart"
- }
- }
|