UNPKG

deployment-tools

Version:

A Node.js scripts that helps you to compile and deploy the static assets (CSS/JavaScript/images) of your website without gulp and grunt using Node.js and npm scripts

19 lines (12 loc) 512 B
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.execAsync = undefined; var _child_process = require('child_process'); var _child_process2 = _interopRequireDefault(_child_process); var _bluebird = require('bluebird'); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } /* eslint-disable import/prefer-default-export */ const execAsync = (0, _bluebird.promisify)(_child_process2.default.exec); exports.execAsync = execAsync;