UNPKG

predix-ui

Version:

px-* web components as React styled components

29 lines (24 loc) 585 B
/* eslint-disable */ // adapted based on rackt/history (MIT) // Node 0.10+ var execSync = require('child_process').execSync; var stat = require('fs').stat; // Node 0.10 check if (!execSync) { execSync = require('sync-exec'); } function exec(command) { execSync(command, { stdio: [0, 1, 2] }); } stat('dist-modules', function(error, stat) { // Skip building on Travis if (process.env.TRAVIS) { return; } if (error || !stat.isDirectory()) { //exec('yarn add babel-cli babel-preset-env babel-preset-react --dev'); //exec('npm run dist:modules'); } });