How to use the resolve-runtime/package.json.dependencies function in resolve-runtime

To help you get started, we’ve selected a few resolve-runtime examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github reimagined / resolve / packages / core / resolve-scripts / src / write_package_jsons_for_assemblies.js View on Github external
dependencies: Array.from(resultNodeModules).reduce((acc, val) => {
        if (applicationPackageJson.dependencies.hasOwnProperty(val)) {
          acc[val] = applicationPackageJson.dependencies[val]
        } else if (
          resolveRuntimePackageJson.dependencies.hasOwnProperty(val) &&
          nodeModules.has(val)
        ) {
          acc[val] = resolveRuntimePackageJson.dependencies[val]
        }

        return acc
      }, {})
    }
github reimagined / resolve / packages / core / resolve-scripts / src / write_package_jsons_for_assemblies.js View on Github external
dependencies: Array.from(resultNodeModules).reduce((acc, val) => {
        if (applicationPackageJson.dependencies.hasOwnProperty(val)) {
          acc[val] = applicationPackageJson.dependencies[val]
        } else if (
          resolveRuntimePackageJson.dependencies.hasOwnProperty(val) &&
          nodeModules.has(val)
        ) {
          acc[val] = resolveRuntimePackageJson.dependencies[val]
        }

        return acc
      }, {})
    }

resolve-runtime

The reSolve framework's backend server.

MIT
Latest version published 3 years ago

Package Health Score

48 / 100
Full package analysis