Skip to content

Instantly share code, notes, and snippets.

@ohmrefresh
Last active December 13, 2020 08:40
Show Gist options
  • Select an option

  • Save ohmrefresh/b50d29b6cf4662ee4efa22fb804cedbd to your computer and use it in GitHub Desktop.

Select an option

Save ohmrefresh/b50d29b6cf4662ee4efa22fb804cedbd to your computer and use it in GitHub Desktop.

Revisions

  1. ohmrefresh revised this gist Dec 13, 2020. 1 changed file with 12 additions and 0 deletions.
    12 changes: 12 additions & 0 deletions lighthouserc.json
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,12 @@
    {
    "ci": {
    "server": {
    "port": 9001,
    "storage": {
    "storageMethod": "sql",
    "sqlDialect": "sqlite",
    "sqlDatabasePath": "/data/lhci.db"
    }
    }
    }
    }
  2. ohmrefresh revised this gist Dec 13, 2020. 1 changed file with 4 additions and 1 deletion.
    5 changes: 4 additions & 1 deletion package.json
    Original file line number Diff line number Diff line change
    @@ -7,6 +7,9 @@
    "dependencies": {
    "@lhci/cli": "0.6.1",
    "@lhci/server": "0.6.1",
    "sqlite3": "^4.0.6"
    "sqlite3": "^4.0.6",
    "mysql2": "^2.1.0",
    "pg": "^7.12.1",
    "pg-hstore": "^2.3.3"
    }
    }
  3. ohmrefresh created this gist Dec 13, 2020.
    12 changes: 12 additions & 0 deletions package.json
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,12 @@
    {
    "name": "lhci",
    "version": "0.0.0",
    "scripts": {
    "start": "lhci server --config=./lighthouserc.json"
    },
    "dependencies": {
    "@lhci/cli": "0.6.1",
    "@lhci/server": "0.6.1",
    "sqlite3": "^4.0.6"
    }
    }