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