Skip to content
This repository has been archived by the owner on Sep 14, 2022. It is now read-only.

Commit

Permalink
Add a script to check bower.json
Browse files Browse the repository at this point in the history
  • Loading branch information
Clément PREVOT committed Jun 15, 2016
1 parent 594e1b7 commit 079ba8f
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions check_bower.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
var bowerJson = require('bower-json');

// Can also be used by simply calling bowerJson()
bowerJson.read('./bower.json', function (err, json) {
if (err) {
console.error('There was an error reading the file');
console.error(err.message);
return;
}

console.log('JSON: ', json);
});

0 comments on commit 079ba8f

Please sign in to comment.