In generator-aspnetcore-spa, use 'yarn' (if available) instead of 'npm' to restore dependencies because it's > 10x faster

This commit is contained in:
SteveSandersonMS
2016-10-28 16:55:39 +01:00
parent dfcaae6fda
commit 6259b7b938
3 changed files with 28 additions and 1 deletions

View File

@@ -0,0 +1,8 @@
declare module 'npm-which' {
interface NpmWhichContext {
sync(executableName: string): string;
}
function defaultFunction(rootDir: string) : NpmWhichContext;
export = defaultFunction;
}