0.4.2-alpha.3 • Published 5 years ago
@sincronia/typescript-plugin v0.4.2-alpha.3
@sincronia/typescript-plugin
Overview
This plugin allows you to run the TypeScript compiler on .ts
files. Supports tsconfig.json
files.
Installation
npm i -D @sincronia/typescript-plugin
Options
Key | Type | Default | Description |
---|---|---|---|
transpile | boolean | true | Whether or not the contents of the typescript file should be transpiled. Useful if you want to use Babel to transpile instead but still want type checking |
compilerOptions | typescript.CompilerOptions | null | Same as compilerOptions in a tsconfig.json file |
Order of Configurations
- Load from
sinc.config.js
options. - Check for
tsconfig.json
file and and override any overlapping values.
Example Usage
This example takes .ts
files and only type checks them.
//sinc.config.js
module.exports={
rules:{
match:/\.ts$/,
plugins:[
name:"@sincronia/typescript-plugin",
options:{
transpile:false
}
]
}
};
0.4.2-alpha.3
5 years ago
0.4.2-alpha.2
5 years ago
0.4.2-alpha.0
5 years ago
0.4.1
5 years ago
0.4.0
5 years ago
0.3.10-alpha.2
5 years ago
0.3.10-alpha.1
5 years ago
0.3.10-alpha.0
5 years ago
0.3.5
5 years ago
0.3.3
6 years ago
0.3.1
6 years ago
0.3.0
6 years ago
0.2.1
6 years ago
0.2.0
6 years ago
0.1.0
6 years ago
0.0.18
6 years ago
0.0.17
6 years ago
0.0.16
6 years ago
0.0.15
6 years ago
0.0.14
6 years ago
0.0.13
6 years ago
0.0.12
6 years ago
0.0.11
6 years ago
0.0.10
6 years ago
0.0.9
6 years ago
0.0.8
6 years ago
0.0.7
6 years ago
0.0.6
6 years ago
0.0.5
6 years ago
0.0.4
6 years ago
0.0.4-alpha.0
6 years ago
0.0.3
6 years ago
0.1.1
6 years ago