insight-ui-crown
Version:
An open-source frontend for the Insight API. The Insight API provides you with a convenient, powerful and simple way to query and broadcast data on the Crown network and build your own services with it.
14 lines (10 loc) • 423 B
JavaScript
;
let cp = require('child_process');
let path = require('path');
let grunt = require('grunt');
let bowerBinDir = path.join(path.dirname(require.resolve('bower')), '../bin');
process.env.PATH = process.env.PATH + ':' + bowerBinDir;
cp.execSync('bower install', {stdio: 'inherit'});
// This function is asynchronous, but luckily we don't need to write callback
// because it's the last operation.
grunt.cli();