2 releases

new 0.1.1 Jul 15, 2024
0.1.0 May 27, 2024

#703 in Build Utils

45 downloads per month

MIT license

500KB
4K SLoC

Rust 2K SLoC // 0.0% comments TypeScript 1K SLoC // 0.2% comments JavaScript 582 SLoC // 0.1% comments TSX 371 SLoC // 0.0% comments Svelte 90 SLoC Vue 45 SLoC

create-farm

Scaffolding Your First Farm Project

This package provides official templates for the Rust Web Bundler Farm.

Scaffolding Your First Farm Project

Compatibility Note: Farm requires Node.js version 16+. However, some templates require a higher Node.js version to work, please upgrade if your package manager warns about it.

With NPM:

$ npm create farm@latest

With Yarn:

$ yarn create farm

With PNPM:

$ pnpm create farm

Then follow the prompts!

You can also directly specify the project name and the template you want to use via additional command line options run:

# npm 6.x
npm create farm@latest my-vue-app --template react

# npm 7+, extra double-dash is needed:
npm create farm@latest my-vue-app -- --template vue

# yarn
yarn create farm my-vue-app --template react

# pnpm
pnpm create farm my-vue-app --template vue

Inspiration comes from create-tauri-app

Dependencies

~11–20MB
~177K SLoC