replace jest with ava
This commit is contained in:
parent
27cc8b23fe
commit
0347b72305
11775 changed files with 84546 additions and 1440575 deletions
9
node_modules/is-npm/index.js
generated
vendored
Normal file
9
node_modules/is-npm/index.js
generated
vendored
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
'use strict';
|
||||
|
||||
const userAgent = process.env.npm_config_user_agent;
|
||||
const isYarn = Boolean(userAgent && userAgent.startsWith('yarn'));
|
||||
const isNpm = Boolean(userAgent && userAgent.startsWith('npm'));
|
||||
|
||||
module.exports.isNpmOrYarn = isNpm || isYarn;
|
||||
module.exports.isNpm = isNpm;
|
||||
module.exports.isYarn = isYarn;
|
||||
Loading…
Add table
Add a link
Reference in a new issue