Copy only main files of dependencies to another place.
npm install copydepWire dependencies to your source code.
npm install wiredep --save``js``
var wiredep = require('wiredep')({
directory: 'the directory of your Bower packages.',
bowerJson: 'your bower.json file contents.',
ignorePath: 'optional path to ignore from the injected filepath.',
htmlFile: 'the path to the HTML file to take control of.',
jsPattern: 'default: ',
cssPattern: 'default: '
});