What is Alfred?
- A project migrator
- A configuration/boilerplate manager
- Allows for extensibility
Installation
yarn add --global alfred
npm install --global alfred
Usage
alfred bootstrap
alfred bootstrap --include editorconfig .gitignore babel flow
alfred migrate .
alfred migrate . --transforms imports lebab
Roadmap (ordered by priority)
Spec
- Check for
version
in package.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
{
"alfred": {
"version": "0.0.1"
}
}
Inspiration