{"library":"tsc-hooks","type":"library","category":null,"description":"tsc-hooks (v1.1.2) is a TypeScript compiler hook system that extends tsc's functionality by allowing custom scripts to run before or after compilation. It integrates via a new 'hooks' array in tsconfig.json, enabling built-in hooks like 'copy-files' (to copy non-TypeScript files) and 'file-permissions' (to set file permissions). The package requires TypeScript ^4.3.2 || ^5.0.2 as a peer dependency. It is actively maintained with a simple configuration approach, differing from alternatives like ts-patch or ttypescript by providing a hook interface rather than patching the compiler API.","language":"javascript","status":"active","version":"1.1.2","tags":["javascript","TypeScript","Compilation","Hook"],"last_verified":"Fri May 01","install":[{"cmd":"npm install tsc-hooks","imports":["import tscHooks from 'tsc-hooks'","import { TSCHooks } from 'tsc-hooks'","import type { HookFunction } from 'tsc-hooks'","import type { HookConfig } from 'tsc-hooks'"]},{"cmd":"yarn add tsc-hooks","imports":[]},{"cmd":"pnpm add tsc-hooks","imports":[]}],"homepage":null,"github":"https://github.com/swimauger/tsc-hooks","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/tsc-hooks","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}