babel-plugin-jest-hoist
Advanced tools
Comparing version 24.0.0-alpha.7 to 24.0.0-alpha.9
{ | ||
"name": "babel-plugin-jest-hoist", | ||
"version": "24.0.0-alpha.7", | ||
"version": "24.0.0-alpha.9", | ||
"repository": { | ||
@@ -8,5 +8,8 @@ "type": "git", | ||
}, | ||
"engines": { | ||
"node": ">= 6" | ||
}, | ||
"license": "MIT", | ||
"main": "build/index.js", | ||
"gitHead": "4954f46708415174c48a58f296a605fbe1244a31" | ||
"gitHead": "c7caa7ba5904d0c61e586694cde5f536639e4afc" | ||
} |
@@ -13,10 +13,8 @@ # babel-plugin-jest-hoist | ||
### Via `.babelrc` (Recommended) | ||
### Via `babel.config.js` (Recommended) | ||
**.babelrc** | ||
```json | ||
{ | ||
"plugins": ["jest-hoist"] | ||
} | ||
```js | ||
module.exports = { | ||
plugins: ['jest-hoist'], | ||
}; | ||
``` | ||
@@ -33,5 +31,5 @@ | ||
```javascript | ||
require('babel-core').transform('code', { | ||
require('@babel/core').transform('code', { | ||
plugins: ['jest-hoist'], | ||
}); | ||
``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Empty package
Supply chain riskPackage does not contain any code. It may be removed, is name squatting, or the result of a faulty package publish.
Found 1 instance in 1 package
7268
4
184
0
34