twbs/grunt-sed

Name: grunt-sed

Owner: Bootstrap

Description: Grunt plugin for search and replace.

Created: 2015-04-09 06:47:31.0

Updated: 2017-12-13 19:22:47.0

Pushed: 2016-07-18 07:15:42.0

Homepage:

Size: 21

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Build Status Dependency Status devDependency Status

grunt-sed

This is a fork of the original repo with the changes we needed since things were going pretty slow upstream.

Built on top of replace, grunt-sed is a Grunt plugin for performing search and replace on files.

Usage

This plugin is a multi task, meaning that Grunt will automatically iterate over all exec targets if a target is not specified.

Properties
Example
t.initConfig({
g: grunt.file.readJSON('package.json'),

d: {
version: {
  pattern: '%VERSION%',
  replacement: '<%= pkg.version %>',
  recursive: true,
  exclude: ['*.min.js', 'node_modules']
}


License

Copyright (c) 2013 Jake Harding
Licensed under the MIT License.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.