mirror of
https://example.com
synced 2024-11-24 11:36:38 +09:00
19 lines
457 B
JavaScript
19 lines
457 B
JavaScript
const execa = require('execa');
|
|
|
|
(async () => {
|
|
console.log('installing dependencies of packages/backend ...');
|
|
|
|
await execa('yarn', ['install'], {
|
|
cwd: __dirname + '/../packages/backend',
|
|
stdout: process.stdout,
|
|
stderr: process.stderr,
|
|
});
|
|
|
|
console.log('installing dependencies of packages/client ...');
|
|
|
|
await execa('yarn', ['install'], {
|
|
cwd: __dirname + '/../packages/client',
|
|
stdout: process.stdout,
|
|
stderr: process.stderr,
|
|
});
|
|
})();
|