{"library":"rollup-plugin-shell","title":"rollup-plugin-shell","description":"Rollup plugin to execute arbitrary shell commands during the build process. Version 1.0.9 is the latest stable release. Allows specifying commands as strings or arrays and hooks into any Rollup build hook (default: generateBundle). Supports synchronous and asynchronous execution. Differentiators: minimal API, supports single or multiple commands, flexible hook integration. Designed for tasks like linting, copying files, or running dev servers.","language":"javascript","status":"active","last_verified":"Mon Apr 27","install":{"commands":["npm install rollup-plugin-shell"],"cli":null},"imports":["import execute from 'rollup-plugin-shell'","const execute = require('rollup-plugin-shell')","import type { ShellPluginOptions } from 'rollup-plugin-shell'"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import execute from 'rollup-plugin-shell';\n\nexport default {\n  input: 'src/index.js',\n  output: {\n    file: 'dist/index.js',\n  },\n  plugins: [\n    execute({ commands: ['echo \"Build complete\"'], hook: 'buildStart' }),\n  ],\n};","lang":"typescript","description":"Basic usage of rollup-plugin-shell to execute a shell command at the buildStart hook.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}