2.1.3 • Published 8 years ago

protero v2.1.3

Weekly downloads
3
License
MIT
Repository
github
Last release
8 years ago

protero

Utility method for transpiling dependencies with babel. By default node_modules are not transpiled by Babel. This compiler/require hook allows you to include certain node_modules or extensions.

Install

npm install --save-dev protero

Usage

Add the following to your package.json.

{
  "scripts": {
    "test": "mocha --spec reporter --compilers js:protero ./test.js"
  },
  "protero": {
    "extensions": [ "js", "jsx" ],  // optional, defaults are listed.
    "modules": [
      "dependency1",
      "dependency2",
      "/@scoped\/regex/"            // check filepaths with RegExp.
    ]
  }
}

License

See LICENSE.md

2.1.3

8 years ago

2.1.2

8 years ago

2.1.1

8 years ago

2.1.0

8 years ago

2.0.0

8 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago