babel-jest
Jest plugin to use babel for transformation.
Last updated 2 months ago by mjesun .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install babel-jest 
SYNC missed versions from official npm registry.

babel-jest

Babel jest plugin

Usage

If you are already using jest-cli, just add babel-jest and it will automatically compile JavaScript code using babel.

yarn add --dev babel-jest babel-core

Note: If you are using babel version 7 you have to install babel-jest with

yarn add --dev babel-jest 'babel-core@^7.0.0-bridge' @babel/core

If you would like to write your own preprocessor, uninstall and delete babel-jest and set the config.transform option to your preprocessor.

Setup

Note: this step is only required if you are using babel-jest with additional code preprocessors.

To explicitly define babel-jest as a transformer for your JavaScript code, map .js files to the babel-jest module.

"transform": {
  "^.+\\.jsx?$": "babel-jest"
},

Current Tags

  • 24.0.0-alpha.6                                ...           beta (4 days ago)
  • 23.6.0                                ...           latest (2 months ago)
  • 21.3.0-beta.15                                ...           test (a year ago)

140 Versions

  • 24.0.0-alpha.6                                ...           4 days ago
  • 24.0.0-alpha.5                                ...           4 days ago
  • 24.0.0-alpha.4                                ...           18 days ago
  • 24.0.0-alpha.2                                ...           19 days ago
  • 24.0.0-alpha.1                                ...           22 days ago
  • 24.0.0-alpha.0                                ...           25 days ago
  • 23.6.0                                ...           2 months ago
  • 23.4.2                                ...           4 months ago
  • 23.4.0                                ...           4 months ago
  • 23.2.0                                ...           5 months ago
  • 23.0.1                                ...           6 months ago
  • 23.0.0                                ...           6 months ago
  • 23.0.0-charlie.4                                ...           6 months ago
  • 23.0.0-charlie.3                                ...           6 months ago
  • 22.4.4                                ...           6 months ago
  • 23.0.0-charlie.2                                ...           6 months ago
  • 23.0.0-charlie.1                                ...           6 months ago
  • 23.0.0-charlie.0                                ...           6 months ago
  • 23.0.0-beta.3r                                ...           6 months ago
  • 23.0.0-alpha.3r                                ...           6 months ago
  • 23.0.0-beta.2                                ...           7 months ago
  • 23.0.0-beta.1                                ...           7 months ago
  • 23.0.0-beta.0                                ...           7 months ago
  • 23.0.0-alpha.7                                ...           7 months ago
  • 23.0.0-alpha.6r                                ...           7 months ago
  • 23.0.0-alpha.5r                                ...           7 months ago
  • 23.0.0-alpha.5                                ...           7 months ago
  • 23.0.0-alpha.4                                ...           8 months ago
  • 23.0.0-alpha.2                                ...           8 months ago
  • 22.4.3                                ...           8 months ago
  • 23.0.0-alpha.1                                ...           8 months ago
  • 23.0.0-alpha.0                                ...           8 months ago
  • 22.4.1                                ...           9 months ago
  • 22.4.0                                ...           9 months ago
  • 22.2.2                                ...           9 months ago
  • 22.2.0                                ...           9 months ago
  • 22.1.0                                ...           10 months ago
  • 22.0.6                                ...           10 months ago
  • 22.0.4                                ...           a year ago
  • 22.0.3                                ...           a year ago
  • 22.0.2                                ...           a year ago
  • 22.0.1                                ...           a year ago
  • 22.0.0                                ...           a year ago
  • 21.3.0-beta.15                                ...           a year ago
  • 21.3.0-beta.14                                ...           a year ago
  • 21.3.0-beta.13                                ...           a year ago
  • 21.3.0-beta.12                                ...           a year ago
  • 21.3.0-beta.11                                ...           a year ago
  • 21.3.0-beta.10                                ...           a year ago
  • 21.3.0-beta.9                                ...           a year ago
  • 21.3.0-beta.8                                ...           a year ago
  • 21.3.0-beta.7                                ...           a year ago
  • 21.3.0-beta.6                                ...           a year ago
  • 21.3.0-beta.5                                ...           a year ago
  • 21.3.0-beta.4                                ...           a year ago
  • 21.3.0-beta.3                                ...           a year ago
  • 21.3.0-beta.2                                ...           a year ago
  • 21.3.0-beta.1                                ...           a year ago
  • 21.3.0-alpha.eff7a1cf                                ...           a year ago
  • 21.3.0-alpha.1e3ee68e                                ...           a year ago
  • 21.2.0                                ...           a year ago
  • 21.0.2                                ...           a year ago
  • 21.0.0                                ...           a year ago
  • 21.0.0-beta.1                                ...           a year ago
  • 21.0.0-alpha.2                                ...           a year ago
  • 21.0.0-alpha.1                                ...           a year ago
  • 20.1.0-echo.1                                ...           a year ago
  • 20.1.0-delta.5                                ...           a year ago
  • 20.1.0-delta.4                                ...           a year ago
  • 20.1.0-delta.3                                ...           a year ago
  • 20.1.0-delta.2                                ...           a year ago
  • 20.1.0-delta.1                                ...           a year ago
  • 20.1.0-chi.1                                ...           a year ago
  • 20.1.0-beta.1                                ...           a year ago
  • 20.1.0-alpha.3                                ...           a year ago
  • 20.1.0-alpha.2                                ...           a year ago
  • 20.1.0-alpha.1                                ...           a year ago
  • 20.0.3                                ...           a year ago
  • 20.0.2                                ...           a year ago
  • 20.0.1                                ...           2 years ago
  • 20.0.0                                ...           2 years ago
  • 19.3.0-alpha.85402254                                ...           2 years ago
  • 19.2.0-alpha.993e64af                                ...           2 years ago
  • 19.1.0-alpha.eed82034                                ...           2 years ago
  • 19.0.0                                ...           2 years ago
  • 18.5.0-alpha.7da3df39                                ...           2 years ago
  • 18.0.0                                ...           2 years ago
  • 17.0.2                                ...           2 years ago
  • 17.0.0                                ...           2 years ago
  • 16.1.0-alpha.691b0e22                                ...           2 years ago
  • 16.0.0                                ...           2 years ago
  • 15.2.0-alpha.c681f819                                ...           2 years ago
  • 15.0.0                                ...           2 years ago
  • 14.3.2-alpha.83c25417                                ...           2 years ago
  • 14.3.1-alpha.410cb91a                                ...           2 years ago
  • 14.3.0-alpha.d13c163e                                ...           2 years ago
  • 14.2.2-alpha.22bd3c33                                ...           2 years ago
  • 14.2.1-alpha.e21d71a4                                ...           2 years ago
  • 14.2.0-alpha.ca8bfb6e                                ...           2 years ago
  • 14.1.0                                ...           2 years ago
  • 14.0.2                                ...           2 years ago
  • 14.0.1                                ...           2 years ago
  • 14.0.0                                ...           2 years ago
  • 13.4.0-alpha.d2632006                                ...           2 years ago
  • 13.3.0-alpha.g8b48d59                                ...           2 years ago
  • 13.3.0-alpha.8b48d59e                                ...           2 years ago
  • 13.3.0-alpha.ffc7404b                                ...           2 years ago
  • 13.2.3-alpha.ffc7404b                                ...           2 years ago
  • 13.3.0-alpha.4eb0c908                                ...           2 years ago
  • 13.3.0-alpha.a44f195f                                ...           2 years ago
  • 13.2.2                                ...           2 years ago
  • 13.2.1                                ...           2 years ago
  • 13.0.0                                ...           2 years ago
  • 12.1.5-alpha.b5322422                                ...           2 years ago
  • 12.1.4-alpha.a737c6e5                                ...           2 years ago
  • 12.1.3-alpha.6230044c                                ...           2 years ago
  • 12.1.2-alpha.6230044c                                ...           2 years ago
  • 12.1.2-alpha.a482b15c                                ...           2 years ago
  • 12.1.1-alpha.2935e14d                                ...           2 years ago
  • 12.1.0                                ...           2 years ago
  • 12.0.2                                ...           3 years ago
  • 12.0.1                                ...           3 years ago
  • 12.0.0                                ...           3 years ago
  • 11.0.2                                ...           3 years ago
  • 11.0.1                                ...           3 years ago
  • 11.0.0                                ...           3 years ago
  • 10.0.2                                ...           3 years ago
  • 10.0.1                                ...           3 years ago
  • 9.0.3                                ...           3 years ago
  • 9.0.2                                ...           3 years ago
  • 9.0.1                                ...           3 years ago
  • 9.0.0                                ...           3 years ago
  • 6.0.1                                ...           3 years ago
  • 6.0.0                                ...           3 years ago
  • 5.3.0                                ...           3 years ago
  • 5.2.1                                ...           3 years ago
  • 5.2.0                                ...           4 years ago
  • 5.0.1                                ...           4 years ago
  • 5.0.0                                ...           4 years ago
  • 4.0.0                                ...           4 years ago
Downloads
Today 336
This Week 16,162
This Month 62,059
Last Day 8,046
Last Week 34,670
Last Month 169,742
Dependencies (2)
Dev Dependencies (1)
Dependents (3105)

Copyright 2014 - 2016 © taobao.org |