devtools-config

    0.0.16 • Public • Published

    Configuration

    Npm version

    All default config values are in config/development.json, to override these values you need to create a local config file.

    • logging
      • firefoxProxy Enables logging the Firefox protocol in the terminal running npm start
    • chrome Chrome browser related flags
      • debug Enables listening for remotely debuggable Chrome browsers
      • port web socket port specified when launching Chrome from the command line
      • host host specified when launching Chrome from the command line
    • node Node related flags
      • debug Enables listening for remotely debuggable Node processes
      • port web socket port specified when connecting to node
      • host host specified when connecting to node
    • firefox Firefox browser related flags
      • webSocketConnection favours Firefox WebSocket connection over the firefox-proxy
      • host The hostname used for connecting to Firefox
      • webSocketPort Port used for establishing a WebSocket connection with Firefox when webSocketConnection is true or with a firefox-proxy when webSocketConnection is false
      • tcpPort Port used by the firefox-proxy when connecting to Firefox
      • geckoDir Local location of Firefox source code only needed by project maintainers
    • development Development server related settings
    • serverPort Listen Port used by the development server
    • examplesPort Listen Port used to serve examples
    • hotReloading enables Hot Reloading of CSS and React
    • baseWorkerURL Location for where the worker bundles exist

    Local config

    You can create a configs/local.json file to override development configs. This is great for enabling features locally or changing the theme. Copy the local-sample to get started.

    cp configs/local-sample.json configs/local-sample.json

    The local.json will be ignored by git so any changes you make won't be published, only make changes to the development.json file when related to features removed or added to the project.

    Keywords

    none

    Install

    npm i devtools-config

    DownloadsWeekly Downloads

    6

    Version

    0.0.16

    License

    MPL-2.0

    Unpacked Size

    90.8 kB

    Total Files

    10

    Last publish

    Collaborators

    • julienw
    • juliandescottes
    • nchevobbe
    • gabrielluong
    • tatumcreative
    • odvarko
    • codehag
    • jasonlaster11
    • jbhoosreddy