scripts_runner 0.1.6
scripts_runner: ^0.1.6 copied to clipboard
A development scripts management tool for Dart and Flutter projects. Automatically sets up your development environment with essential tools, configurations, and best practices.
Scripts Runner #
A development scripts management tool for Dart and Flutter projects. Automatically sets up your development environment with essential tools, configurations, and best practices.
Features #
🚀 One-command setup - Get your development environment ready instantly
📝 Smart configuration - Automatically copies essential config files
🔧 VS Code integration - Installs recommended extensions and settings
📦 Offline ready - Bootstrap scripts for local usage
⚡ Cross-platform - Works on macOS, Linux, and Windows
Quick Start #
Global Install #
Installation
dart pub global activate scripts_runner
Usage
# Run scripts_runner
dart pub global run scripts_runner post-install
# Your development environment is now ready! 🎉
Or Add to your project #
Installation
dart pub add dev:scripts_runner
Usage
# Run scripts_runner
dart run scripts_runner post-install
# Show help
dart run scripts_runner --help
Commands #
Command | Description |
---|---|
post-install |
Setup complete development environment (FVM, VSCode configurations, Git hooks ...) |
install-extensions |
Install recommended VS Code extensions |
bootstrap |
Copy all configs and scripts to local project for offline use |
What Gets Set Up #
Development Tools #
- FVM - Flutter Version Management
- Flutter dependencies - Essential dev packages (husky, lint_staged, etc.)
VS Code Configuration #
- Settings - Optimized workspace settings for Dart/Flutter
- Extensions - Recommended extensions for better development experience
- Code snippets - Useful Dart/Flutter snippets
Git Hooks #
- Husky - Git hooks configuration
- Lint Staged - Automatic code formatting and analysis on git commit
- Commit lint - Conventional commit message validation
- Pre-commit hooks - Code formatting and linting
Configuration Files #
scripts_runner
automatically manages these configuration files:
.husky.yaml # Git hooks configuration
.vscode/
├── settings.json # VS Code workspace settings
├── launch.json # Debug configurations
├── extensions.json # Recommended extensions
└── dart.code-snippets # Code snippets
Requirements #
- Dart SDK 3.0 or higher
- Git (for git hooks functionality)
- VS Code (optional, for extension installation)
Contribution #
We welcome contributions! Please see our Contribution Guide for details.
Made with ❤️ for the Dart and Flutter community