diff --git a/lib/metrics/index.ts b/lib/metrics/index.ts new file mode 100644 index 0000000..2904d69 --- /dev/null +++ b/lib/metrics/index.ts @@ -0,0 +1,3 @@ +import { METRICS } from './metrics'; + +module.exports = METRICS; diff --git a/readme.md b/readme.md index 188e155..6aa0d89 100644 --- a/readme.md +++ b/readme.md @@ -110,7 +110,7 @@ module.exports = { `pwmetrics-config.js` ```js -const METRICS = require('pwmetrics/lib/metrics/metrics'); +const METRICS = require('pwmetrics/lib/metrics'); module.exports = { url: 'http://example.com/', diff --git a/recipes/gulp/gulpfile.js b/recipes/gulp/gulpfile.js index ecbedff..08b1583 100644 --- a/recipes/gulp/gulpfile.js +++ b/recipes/gulp/gulpfile.js @@ -5,7 +5,7 @@ /* eslint-disable no-console */ const gulp = require('gulp'); const PWMetrics = require('../../lib/'); -const {METRICS} = require('../../lib/metrics/metrics'); +const METRICS = require('../../lib/metrics'); /** * Run pwmetrics