babel-env
Development environment for Babel.
Last updated 3 years ago by epsitec .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install babel-env 
SYNC missed versions from official npm registry.

babel-env

The babel-env npm package can be used to set up a consistent environment for projects using Babel and running on node.js version 6 (at least).

npm install --save-dev babel-env

This will install all useful Babel packages and create a default .babelrc file in the project root. The .babelrc file will automatically be updated when updates of babel-env are installed.

See also babel-env-test for an example of how babel-env is used.

Prevent automatic .babelrc overwrite

If you do not want your .babelrc to be overwritten by babel-env, add a comment containing babel-env-disable, such as:

// babel-env-disable
{
  "presets": [
    "es2015"
  ],
  "plugins": [
    "transform-es3-property-literals",
    "transform-es3-member-expression-literals"
  ]
}

Current Tags

  • 2.4.1                                ...           latest (3 years ago)

22 Versions

  • 2.4.1                                ...           3 years ago
  • 2.4.0                                ...           3 years ago
  • 2.3.1                                ...           3 years ago
  • 2.3.0                                ...           3 years ago
  • 2.2.0                                ...           3 years ago
  • 2.1.0                                ...           3 years ago
  • 2.0.1                                ...           3 years ago
  • 2.0.0                                ...           3 years ago
  • 1.6.1                                ...           3 years ago
  • 1.6.0                                ...           3 years ago
  • 1.5.1                                ...           3 years ago
  • 1.5.0                                ...           3 years ago
  • 1.4.0                                ...           3 years ago
  • 1.3.1                                ...           4 years ago
  • 1.3.0                                ...           4 years ago
  • 1.2.2                                ...           4 years ago
  • 1.2.1                                ...           4 years ago
  • 1.1.0                                ...           4 years ago
  • 1.0.0                                ...           4 years ago
  • 0.0.3                                ...           4 years ago
  • 0.0.2                                ...           4 years ago
  • 0.0.1                                ...           4 years ago
Downloads
Today 1
This Week 4
This Month 43
Last Day 3
Last Week 11
Last Month 126
Dev Dependencies (3)
Dependents (118)

Copyright 2014 - 2016 © taobao.org |