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

0.14.7 • Public • Published

Known Vulnerabilities

BaseT TypeScript plugin

TypeScript reader plugin for BaseT project.

Installation and usage

Run:

npm install --save-dev baset-reader-ts

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

".spec.ts$": ["baset-reader-ts", "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-ts": {
    "config": "./tsconfig.json"  // path to your config
}

or

"baset-reader-ts": {
    "config": {
        "compilerOptions": {
            "target": "es2015",
            "module": "commonjs",
            // and any other options for compiler
        }
    }
}

Obviously, not every option for TS compiler will have noticeable impact on tests.

Full list of available compiler options you may find at official TS documentation

Dependencies (4)

Dev Dependencies (2)

Package Sidebar

Install

npm i baset-reader-ts

Weekly Downloads

1

Version

0.14.7

License

MIT

Unpacked Size

14.9 kB

Total Files

7

Last publish

Collaborators

  • igmat