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

grunt-peach

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-peach

Search and replace strings in SQL dumps, including PHP serialized strings.

  • 1.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
7
increased by600%
Maintainers
1
Weekly downloads
 
Created
Source

grunt-peach David dependency status

Search and replace strings in SQL dumps, including PHP serialized strings. Unofficial grunt task for Peach by Pete Saia

NPM

Getting Started

This plugin requires Grunt ~0.4.0

If you haven't used Grunt before, be sure to check out the Getting Started guide, as it explains how to create a Gruntfile as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:

npm install --save-dev grunt-peach

Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:

grunt.loadNpmTasks('grunt-peach');

Peach task

Run this task with the grunt peach command.

Task targets, files and options may be specified according to the grunt Configuring tasks guide.

Options

log

Type: Boolean Default value: false

Set log to true to log the output SQL to console.

force

Type: Boolean Default value: true

Set force to true to report errors but not fail the task.

Usage examples

grunt.initConfig({
  peach: {
    dev: {
      options: {
        force: true
      },
      src:  'input.sql',
      dest: 'output.sql',
      from: 'http://my-development-server.dev',
      to:   'http://the-production-server.com'
    }
  }
});

Release History

2016-02-21 - v1.1.0

  • Update grunt version flag for grunt 1.x.x

2016-02-04 - v1.0.0

  • Update Peach dependency repo since it was republished

2015-02-27 - v0.1.0

  • Move output to grunt task instead of migrate.js exported module
  • Use peach as NPM module via git
  • Update peach to latest version
  • Rewrite task into coffee
  • Introduce log option
  • Update readme options and add dependency badges

2013-05-24 - v0.0.3

  • Fix writing to dest file

2013-05-24 - v0.0.1

  • Initial release

Keywords

FAQs

Package last updated on 21 Feb 2016

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