update node snippet to use yarn
This commit is contained in:
parent
4fcc3bdb4c
commit
8416bd2f64
@ -41,11 +41,11 @@ async function run (folder, args) {
|
||||
{ cwd: snip_folder, stdio: 'inherit' }
|
||||
);
|
||||
child_process.execSync (
|
||||
'npm init -y',
|
||||
'yarn init -y',
|
||||
{ cwd: snip_folder, stdio: 'inherit' }
|
||||
);
|
||||
child_process.execSync (
|
||||
'npm i --save-dev @scode/eslint-config eslint',
|
||||
'yarn add --dev @scode/eslint-config eslint',
|
||||
{ cwd: snip_folder, stdio: 'inherit' }
|
||||
);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user