2021-11-12 01:35:41 +00:00
|
|
|
const execa = require('execa');
|
|
|
|
|
|
|
|
(async () => {
|
2021-11-18 14:32:43 +00:00
|
|
|
console.log('linting packages/backend ...');
|
2021-11-12 01:35:41 +00:00
|
|
|
await execa('npm', ['run', 'lint'], {
|
|
|
|
cwd: __dirname + '/../packages/backend',
|
|
|
|
stdout: process.stdout,
|
|
|
|
stderr: process.stderr,
|
|
|
|
});
|
2021-11-18 14:32:43 +00:00
|
|
|
|
|
|
|
console.log('linting packages/client ...');
|
|
|
|
await execa('npm', ['run', 'lint'], {
|
|
|
|
cwd: __dirname + '/../packages/client',
|
|
|
|
stdout: process.stdout,
|
|
|
|
stderr: process.stderr,
|
|
|
|
});
|
2021-11-20 05:44:59 +00:00
|
|
|
|
|
|
|
console.log('linting packages/sw ...');
|
|
|
|
await execa('npm', ['run', 'lint'], {
|
|
|
|
cwd: __dirname + '/../packages/sw',
|
|
|
|
stdout: process.stdout,
|
|
|
|
stderr: process.stderr,
|
|
|
|
});
|
2021-11-12 01:35:41 +00:00
|
|
|
})();
|