blib/lib/Mojo/Alien/npm.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 1 | 12 | 8.3 |
line | l | !l | condition |
---|---|---|---|
9 | 10 | 0 | ($ENV{'MOJO_NPM_DEBUG'} || $ENV{'MOJO_WEBPACK_DEBUG'}) && 1 |
line | l | !l | condition |
---|---|---|---|
43 | 0 | 0 | $dependencies->{$name}{'version'} //= "" |
70 | 0 | 0 | $info->{'type'} || 'dev' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
78 | 0 | 0 | 0 | $self->{'basename'} ||= path($cmd[0])->basename |
93 | 0 | 0 | 0 | symlink $work_dir->dirname->child("node_modules")->make_path, "node_modules" or warn "Couldn't set up shared node_modules: $!" |