Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

alfred-cli

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

alfred-cli

A framework for upgrading javascript codebases

  • 0.0.1-6
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

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 bootstrap
alfred bootstrap --include editorconfig .gitignore babel flow

# Code migration
alfred migrate .
alfred migrate . --transforms imports lebab

# Migrate interactive
alfred migrate-interactive .

Roadmap (ordered by priority)

  • LebabProvider
  • EslintProvider
  • PrettierProvider
  • DecaffinateProvider

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

  • Swift Migrator

FAQs

Package last updated on 09 Nov 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc