# makit-tsc

> ![Language](https://img.shields.io/badge/-TypeScript-blue.svg) [![Build Status](https://travis-ci.org/searchfe/makit-tsc.svg?branch=master)](https://travis-ci.org/searchfe/makit-tsc) [![Coveralls](https://img.shields.io/coveralls/searchfe/makit-tsc.svg)](

Latest version **0.0.1** (published 2020-05-29) · MIT license · 0 weekly downloads

## Install

```sh
npm install makit-tsc
pnpm add makit-tsc
yarn add makit-tsc
bun add makit-tsc
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2020-05-29 |
| First published | 2020-05-29 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | >= 6.0.x |
| Dependencies | 1 |
| Unpacked size | 608.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | qiansc |

## Links

- npm: https://www.npmjs.com/package/makit-tsc
- Repository: https://github.com/searchfe/makit-tsc
- Issues: https://github.com/searchfe/makit-tsc/issues
- npm.io page: https://npm.io/package/makit-tsc

## Dependencies (1)

- [makit](https://npm.io/package/makit.md) ^1.15.0

## Recent versions

- 0.0.1 (latest) — 2020-05-29
- 0.0.0-development — 2020-05-29

## README

# makit-tsc
![Language](https://img.shields.io/badge/-TypeScript-blue.svg)
[![Build Status](https://travis-ci.org/searchfe/makit-tsc.svg?branch=master)](https://travis-ci.org/searchfe/makit-tsc)
[![Coveralls](https://img.shields.io/coveralls/searchfe/makit-tsc.svg)](https://coveralls.io/github/searchfe/makit-tsc)
[![npm package](https://img.shields.io/npm/v/makit-tsc.svg)](https://www.npmjs.org/package/makit-tsc)
[![npm downloads](http://img.shields.io/npm/dm/makit-tsc.svg)](https://www.npmjs.org/package/makit-tsc)
[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)

makit-tsc

## Install

```bash
npm i makit-tsc --save-dev

```

## Get Start

In the following code, ctx is the context of [makit](https://github.com/searchfe/makit).

```
const compiler = new CustomCompiler({
    baseDir: `${__dirname}/src2`,
    outDir: `${__dirname}/src2/dist`
});

await compiler.compile(ctx);
```

Add a plugin

```

interface Plugin {
    getDepencies?: (context: PluginContext) => string[]
    beforeMakeDepencies?: (filePaths: string[], baseDir: string, outDir: string) => string[]
    onPreCompile?:  (context: PluginContext) => string
    afterCompile?:  (context: PluginContext) => string
    onDest?: (context: PluginContext) => boolean
}

const plugin: Plugin = {
    // ...
}

compiler.addPlugin(plugin);

```



## API

[API DOC](https://searchfe.github.io/makit-tsc/)

---
_Source: https://npm.io/package/makit-tsc · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
