CLI tool for generating and managing Parcel bundler configurations version 1.0.0. Parcel-config-cli provides a command-line interface to initialize, validate, view, modify, and compare Parcel configuration files. It includes template-based scaffolding (minimal, standard, advanced), built-in validation to catch errors before deployment, environment-aware management for dev/staging/production, and diff support. Unlike manual config editing, it offers zero runtime dependencies (only commander and chalk), making it lightweight and easy to integrate into CI/CD pipelines. The project is currently stable and actively maintained on GitHub.
npm install parcel-config-cliNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates CLI usage for initialization, validation, property setting, and viewing config; plus programmatic use with TypeScript imports.
Ensure the config file is named .parcelrc or explicitly pass the path to commands: parcel-config validate path/to/config.json
Run parcel-config init --template minimal to revert to the old default if needed.
Replace --format json with --json in your scripts.
Wrap values in quotes when using the CLI: parcel-config set settings.debug 'true'
Install globally: npm install -g parcel-config-cli, or use npx: npx parcel-config-cli init
Install globally: npm install -g parcel-config-cli, or run via npx: npx parcel-config init
Use --json instead: parcel-config show --json