Skip to content
@coffeescript-milkee

Milkee

A modern build tool for CoffeeScript. Simple, fast, and creamy smooth.

Milkee logo

A modern build tool for CoffeeScript. Simple, fast, and creamy smooth.

Official site · npm · Repository

Milkee builds CoffeeScript projects from a single coffee.config.cjs: point it at an entry and an output, set the coffee compiler options you need (source maps, join, Babel transpile, watch mode), and extend the build with plugins that run after each successful compile.

npm i -D milkee coffeescript   # add @babel/core too if you use options.transpile
npx milkee -s                  # generate coffee.config.cjs
npx milkee                     # build

Packages

Package What it does
milkee npm The build tool and its milkee CLI
@milkee/d npm Type definitions for coffee.config.cjs (/** @type {import('@milkee/d').Config} */)

Plugins

Plugin What it does
milkee-plugin-ext npm Rewrites .coffee / .litcoffee extensions to .js in import and require
milkee-plugin-copy npm Fine-grained control over files copied to the output (glob patterns, removing matched files after compile)
milkee-plugin-minify npm Minifies the compiled JavaScript
milkee-plugin-obfuscator npm Obfuscates the compiled JavaScript
milkee-plugin-shebang npm Adds #!/usr/bin/env node to compiled files
milkee-plugin-prettier npm Formats the .coffee sources in the entry directory with Prettier, without version conflicts
milkee-plugin-lsc npm Handles LiveScript in Milkee

A plugin is a plain function that runs after each successful compile. See the plugin guide (日本語) to write your own.

Website

The official site milkee.org is built from docs.

Author

otoneko. https://github.com/otnc

All packages are MIT licensed.

Pinned Loading

  1. milkee milkee Public

    A simple CoffeeScript build tool with coffee.config.cjs ☕

    CoffeeScript 11

  2. declare declare Public

    2

  3. milkee-plugin-prettier milkee-plugin-prettier Public

    CoffeeScript 1

  4. milkee-plugin-lsc milkee-plugin-lsc Public

    A tiny plugin for handling LiveScript in Milkee.

    LiveScript 1

Repositories

Showing 10 of 13 repositories

Top languages

Loading…

Most used topics

Loading…