mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-14 07:53:09 +02:00
73b5c12927
Resolve #7998
17 lines
423 B
JavaScript
17 lines
423 B
JavaScript
const execa = require('execa');
|
|
|
|
(async () => {
|
|
console.log('linting packages/backend ...');
|
|
await execa('npm', ['run', 'lint'], {
|
|
cwd: __dirname + '/../packages/backend',
|
|
stdout: process.stdout,
|
|
stderr: process.stderr,
|
|
});
|
|
|
|
console.log('linting packages/client ...');
|
|
await execa('npm', ['run', 'lint'], {
|
|
cwd: __dirname + '/../packages/client',
|
|
stdout: process.stdout,
|
|
stderr: process.stderr,
|
|
});
|
|
})();
|