Build pipeline for bundled userscripts.
npm install --save-dev @arylo-scripts/monkey-buildOr run it without installing:
npx monkey-build ./apps/monkey/examplemonkey-build
monkey-build ./apps/monkey/example
monkey-build --help
monkey-build --versionA 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.jsonfor targets that support deploy metadata
npm install
npm run lint
npm run build