Skip to content

Repository files navigation

@arylo-scripts/monkey-build

Build pipeline for bundled userscripts.

Install

npm install --save-dev @arylo-scripts/monkey-build

Or run it without installing:

npx monkey-build ./apps/monkey/example

Usage

monkey-build
monkey-build ./apps/monkey/example
monkey-build --help
monkey-build --version

A script directory must contain banner.toml and index.ts. Top-level values in banner.toml are shared by every target, while target tables such as [github] or [greasyfork] define platform-specific metadata and output directories.

Generated files are written to the script's dist directory:

  • <script-name>.user.js
  • <script-name>.meta.js
  • <target>/<script-name>.user.js
  • <target>/<script-name>.meta.js
  • <target>/<script-name>.deploy.json for targets that support deploy metadata

Development

npm install
npm run lint
npm run build

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages