Skip to content

Commit 161c196

Browse files
authored
Add npx binary detection
1 parent 453cca8 commit 161c196

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

contrib/npm.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@
1919
return which('npm');
2020
});
2121

22+
set('bin/npx', function () {
23+
return which('npx');
24+
});
25+
2226
// Uses `npm ci` command. This command is similar to npm install,
2327
// except it's meant to be used in automated environments such as
2428
// test platforms, continuous integration, and deployment -- or

0 commit comments

Comments
 (0)