This package has been deprecated

Author message:

Use baset-reader-ts instead of this package, please

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

0.5.1 • Public • Published

BaseT TypeScript plugin

TypeScript reader plugin for BaseT project.

Installation and usage

Run:

npm install --save-dev baset-plugin-ts

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

".spec.ts$": ["baset-plugin-ts", "baset-plugin-export"]

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-plugin-ts": {
    "config": "./tsconfig.json"  // path to your config
}

or

"baset-plugin-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

Package Sidebar

Install

npm i baset-plugin-ts

Weekly Downloads

0

Version

0.5.1

License

MIT

Last publish

Collaborators

  • igmat