scripts_runner 0.1.1
scripts_runner: ^0.1.1 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