Commit bb933fa2 authored by Philipp Nowinski's avatar Philipp Nowinski
Browse files

[FEATURE] integrate lighthouse

parent 6eab44f7
......@@ -20,8 +20,8 @@ if [ "$1" == "shortlist" ]; then
echo -e ${taskList}
elif [ -e "sgc-core/modules/$" ]; then
elif [ -e "sgc-core/core/modules/$" ]; then
elif [ -e "./sgc-scripts/$" ]; then
elif [ -e "./sgc-core/core/modules/$1.js" ]; then
'use strict';
const exec = require('child_process').exec,
settings = require('../../gulp/settings'),
chalk = require('chalk');
console.log(`${chalk.bold(chalk.yellow('Heads up:'))} ${chalk.yellow('this feature is still experimental!')}`);
exec(`node ./sgc-core/node_modules/lighthouse/lighthouse-cli/index.js --chrome-flags="--ignore-certificate-errors" ${settings.getConfig().browsersync.url} --view`);
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment