What is Alfred?
- A project migrator
- A configuration/boilerplate manager
- Allows for extensibility
Installation
# Yarn yarn add --global alfred # NPM npm install --global alfred
Usage
# Add boilerplate files alfred bootstrapalfred bootstrap --include editorconfig .gitignore babel flow # Code migration alfred migrate .alfred migrate . --transforms imports lebab
Roadmap (ordered by priority)
-
LebabProvider
-
EslintProvider
-
PrettierProvider
-
DecaffinateProvider
Spec
- Check for
version
inpackage.json
"alfred"
config, update files as necessary - Allow for project specific configurations
- Revert files if necessary. Create backups of every file created. Create global backup directory.
- Bootstrap applications by adding boilerplate, allow user to select which files should be added
- Determine standards for each project. Ex. what is the name of the build directory?
Example configuration
In package.json
Inspiration
- Swift Migrator