baset-reader-babel
TypeScript icon, indicating that this package has built-in type declarations

0.14.7 • Public • Published

Known Vulnerabilities

BaseT Babel plugin

Babel reader plugin for BaseT project.

Installation and usage

Run:

npm install --save-dev baset-reader-babel

and adding next line to baset.plugins section in your package.json or plugins section in your .basetrc/.basetrc.json:

".spec.jsx?$": ["baset-reader-babel", "baset-baseliner-json"]

You may also specify additional options for this plugin under baset.options section in your package.json or options section in your .basetrc/.basetrc.json:

"baset-reader-babel": {
    // by default this reader uses the same strategy for resolving configuration
    // as babel, but you may want to specify some additional settings only for tests
    // this options gives you such an opportunity
    "config": {
        // your additional configuration  for babel
    },
    // by default any files inside node_modules are explicitly ignored
    // but in some cases you may want to transpile them as well,
    // in order to do so, just set this option to true
    "includeNodeModules": true
}

Package Sidebar

Install

npm i baset-reader-babel

Weekly Downloads

4

Version

0.14.7

License

MIT

Unpacked Size

12.6 kB

Total Files

7

Last publish

Collaborators

  • igmat