def METHOD_NAME() -> RuleRunner:
    METHOD_NAME = RuleRunner(
        rules=[
            *package_rules(),
            QueryRule(BuiltPackage, (NodePackageTarFieldSet,)),
            QueryRule(GeneratedSources, (GenerateResourcesFromNodeBuildScriptRequest,)),
            QueryRule(BuiltPackage, (NodeBuildScriptPackageFieldSet,)),
            QueryRule(Snapshot, (Digest,)),
        ],
        target_types=[
            *package_json.target_types(),
            JSSourceTarget,
            JSSourcesGeneratorTarget,
            ResourceTarget,
            FileTarget,
        ],
        objects=dict(package_json.build_file_aliases().objects),
    )
    METHOD_NAME.set_options([], env_inherit={"PATH"})
    return METHOD_NAME