diff --git a/snippets/node/index.js b/snippets/node/index.js index dfa7ea6..06bb55f 100644 --- a/snippets/node/index.js +++ b/snippets/node/index.js @@ -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' } );