@farmfe/plugin-tools
Version:
farmfe plugin tools to help build farmfe plugin
32 lines (22 loc) • 677 B
Markdown
# create-farm-plugin
<div align="center">
<a href="https://github.com/farm-fe/farm">
<img src="../../assets/logo.png" width="550" />
</a>
<p>Tool for Building And Publishing Your Farm Plugin</p>
</div>
> Farm Plugin Tools is built on top of `@napi-rs/cli`.
## Getting Started
> **Compatibility Note:**
> Farm requires [Node.js](https://nodejs.org/en/) version 16+. However, some templates require a higher Node.js version to work, please upgrade if your package manager warns about it.
```bash
pnpm add @farmfe/plugin-tools -D
```
build your farm plugin:
```bash
farm-plugin-tools build
```
prepublish your farm plugin:
```bash
farm-plugin-tool prepublish
```