Gathering detailed insights and metrics for enhanced-resolve-jest
Gathering detailed insights and metrics for enhanced-resolve-jest
Gathering detailed insights and metrics for enhanced-resolve-jest
Gathering detailed insights and metrics for enhanced-resolve-jest
enhanced-resolve
Offers a async require.resolve function. It's highly configurable.
jest-pnp-resolver
plug'n'play resolver for Webpack
pnp-webpack-plugin
plug'n'play resolver for Webpack
externality
[![npm version][npm-version-src]][npm-version-href] [![npm downloads][npm-downloads-src]][npm-downloads-href] [![Github Actions][github-actions-src]][github-actions-href] [![Codecov][codecov-src]][codecov-href] [![bundle][bundle-src]][bundle-href]
npm install enhanced-resolve-jest
70.7
Supply Chain
94.4
Quality
74.1
Maintenance
100
Vulnerability
100
License
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
1 Stars
7 Commits
2 Watching
17 Branches
2 Contributors
Updated on 03 Aug 2020
Minified
Minified + Gzipped
TypeScript (79.8%)
JavaScript (20.2%)
Cumulative downloads
Total Downloads
Last day
24.1%
473
Compared to previous day
Last week
-17.4%
2,081
Compared to previous week
Last month
-11.8%
9,440
Compared to previous month
Last year
4.1%
98,931
Compared to previous year
A better resolver
for Jest using webpack's enhanced resolve.
1npm install enhanced-resolve-jest
This module exposes a resolver that will map your jest config to a compatible enhanced resolver, forwarding options like the extensions, browser target, etc.
1{ 2 "resolver": "enhanced-resolve-jest" 3}
You can also extend this resolver to provide additional options to the enhanced-resolve module.
1{ 2 "resolver": "./resolver.js" 3}
Configure your resolver.js
file:
1const { create, getDefaultConfig } = require("enhanced-resolve-jest"); 2 3module.exports = create(jestConfig => { 4 // Expected to return all options for 5 // https://github.com/webpack/enhanced-resolve#resolver-options 6 7 // You can get a config with the same options as the default resolver like so. 8 const baseConfig = getDefaultConfig(jestConfig); 9 10 // And modify it to make it your own. 11 baseConfig.aliasFields = ["custom-alias"]; 12 13 return baseConfig; 14});
This project adheres to the eBay Code of Conduct. By participating in this project you agree to abide by its terms.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
no SAST tool detected
Details
Reason
Found 0/7 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
56 existing vulnerabilities detected
Details
Score
Last Scanned on 2024-11-18
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More