Skip to content
Grunt plugin that copies info from package.json to bower.json
JavaScript
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
tasks
.gitignore
.travis.yml
Gruntfile.js
History.md
LICENSE-MIT
README.md
package.json

README.md

grunt-npm2bower-sync

Syncs specified properties from package.json to bower.json

NPM info

Build status dependencies endorse

npm install grunt-npm2bower-sync --save-dev

Once that's done, add this line to your project's Gruntfile.js:

grunt.initConfig({

  sync: {
    all: {
      options: {
        // sync specific options
        sync: ['author', 'name', 'version', 'private']
      }
    }
  }

  grunt.loadNpmTasks('grunt-npm2bower-sync');
  grunt.registerTask('default', ['sync']);
});

You can also sync properties from the command line using command grunt sync

License

This repo was forked from grunt-sync-pkg by Jon Schlinkert.

Copyright (c) 2013-09-09 Jon Schlinkert Licensed under the MIT LICENSE.

Something went wrong with that request. Please try again.