Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function expand(scripts, type, str) {
if (type === 'npm')
return parseNpmRedrun(str, scripts);
if (type === 'madrun') {
const [cmd, args = ''] = str.split(' -- ');
return madrun.run(cmd, args);
}
return redrunParse(str, scripts);
}
'fix:lint': () => run('lint', '--fix'),
'watch:server': () => run('watcher', 'bin/edward.js package.json'),
'fix:lint': () => run('lint', '--fix'),
};
'fix:lint': () => run('lint', '--fix'),
'lint': () => 'putout bin client server common madrun.js webpack.config.js',
'fix:lint': () => run('lint', '--fix'),
'build-progress': () => 'webpack --progress',
'watch:test': () => `nodemon -w lib -w test -x ${run('test')}`,
'watch:test': () => `nodemon -w src -w test -x ${run('test')}`,
'lint': () => 'putout lib test .madrun.js',
'watch:test': () => `nodemon -w lib -w test -x ${run('test')}`,
'lint': () => `putout lib test .madrun.js`,
'watch:test': () => `nodemon -w rules -x ${run('test')}`,
'lint': () => 'putout lib .madrun.js',
'watch:test': () => `nodemon -w lib -w test -x ${run('test')}`,
'lint': () => `putout lib test .madrun.js`,