Daviddolor commited on
Commit
c850f62
·
1 Parent(s): 9f9eb8b

Force npm install to include devDependencies for generated project builds

Browse files
Files changed (1) hide show
  1. lib/validator.ts +1 -1
lib/validator.ts CHANGED
@@ -92,7 +92,7 @@ export async function validateProject(
92
  // Step 1: npm install
93
  const installResult = await runCommand(
94
  "npm",
95
- ["install", "--no-audit", "--no-fund", "--loglevel=error"],
96
  projectDir,
97
  installTimeout
98
  );
 
92
  // Step 1: npm install
93
  const installResult = await runCommand(
94
  "npm",
95
+ ["install", "--no-audit", "--no-fund", "--loglevel=error", "--include=dev"],
96
  projectDir,
97
  installTimeout
98
  );