https://github.com/fliegwerk/trc
A simple, bare-bones compiler for Typescript React projects, providing a configurable API
https://github.com/fliegwerk/trc
api compile react typescript webpack webpack5
Last synced: 2 months ago
JSON representation
A simple, bare-bones compiler for Typescript React projects, providing a configurable API
- Host: GitHub
- URL: https://github.com/fliegwerk/trc
- Owner: fliegwerk
- License: mit
- Created: 2021-05-16T13:04:10.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2023-01-24T19:03:35.000Z (over 3 years ago)
- Last Synced: 2025-10-17T08:18:05.363Z (9 months ago)
- Topics: api, compile, react, typescript, webpack, webpack5
- Language: TypeScript
- Homepage: https://fliegwerk.github.io/trc
- Size: 1.33 MB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 29
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Welcome to `@fliegwerk/trc` 👋

[](https://fliegwerk.github.io/trc)
[](https://github.com/fliegwerk/trc/graphs/commit-activity)
[](https://github.com/fliegwerk/trc/blob/main/LICENSE)
[](https://twitter.com/fliegwerk)
> A simple, bare-bones compiler for Typescript React projects, providing a configurable API
### 🏠 [Homepage](https://fliegwerk.github.io/trc)
## Prerequisites
- node >=12
## Install
```sh
npm install @fliegwerk/trc
```
## Usage
### CLI
#### Show help
```sh
$ trc --help
Options:
--version Show version number [boolean]
-w, --watch Automatically rebuild on source change [boolean]
--debug Run with verbose logging [string]
--help Show help [boolean]
```
#### Build project
```sh
trc
```
#### Serve project in development server
```sh
trc --watch
```
### API
```ts
import { build } from '@fliegwerk/trc';
build(webpackConfig);
```
(cf. [docs](https://fliegwerk.github.io/trc) for a list of exported members)
## Author
👤 **fliegwerk**
- Website: https://www.fliegwerk.com
- Twitter: [@fliegwerk](https://twitter.com/fliegwerk)
- Github: [@fliegwerk](https://github.com/fliegwerk)
## 🤝 Contributing
Contributions, issues and feature requests are welcome!
Feel free to check [issues page](https://github.com/fliegwerk/trc/issues).
You can also take a look at the [contributing guide](https://github.com/fliegwerk/trc/blob/main/CONTRIBUTING.md).
## Show your support
Give a ⭐️ if this project helped you!
## 📝 License
Copyright © 2021 Pablo Klaschka, Ludwig Richter.
This project is [MIT](https://github.com/fliegwerk/trc/blob/main/LICENSE) licensed.
---
_This README was generated with ❤️ by [readme-md-generator](https://github.com/kefranabg/readme-md-generator)_