Skip to content

Commit 7c9e179

Browse files
authored
✨ Make npm installs quieter and faster (#219)
* make npm installs quieter and faster * skip logging warnings
1 parent 9ecdca4 commit 7c9e179

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/site.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ export const generateSite = async () => {
3232
}
3333
exec("npm init -y");
3434
config.repo;
35-
exec(`npm i ${sitePackage}`);
35+
exec(`npm i ${sitePackage} --no-audit --no-fund --loglevel=error`);
3636
cp("-r", `node_modules/${sitePackage}/*`, ".");
37-
exec("npm i");
37+
exec("npm i --no-audit --no-fund --loglevel=error");
3838
exec("npm run export");
3939
mkdir("-p", "status-page/__sapper__/export");
4040
cp("-r", "__sapper__/export/*", "status-page/__sapper__/export");

0 commit comments

Comments
 (0)