diff --git a/package.py b/package.py index 40f54d02..8703bfcc 100644 --- a/package.py +++ b/package.py @@ -814,7 +814,7 @@ def commands_step(path, commands): pip_requirements = claim.get("pip_requirements") poetry_install = claim.get("poetry_install") poetry_export_extra_args = claim.get("poetry_export_extra_args", []) - npm_requirements = claim.get("npm_requirements") + npm_requirements = claim.get("npm_requirements", claim.get("npm_package_json")) runtime = claim.get("runtime", query.runtime) if pip_requirements and runtime.startswith("python"):