bruce-cli
Version:
A JS/React App automation build scaffolding with zero-configuration and out-of-the-box
1 lines • 726 B
JavaScript
var x=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function u(e){try{c(i.next(e))}catch(e){r(e)}}function a(e){try{c(i.throw(e))}catch(e){r(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(u,a)}c((i=i.apply(e,t||[])).next())}))};import{AppNamePrompt as _e,DepsPrompt as je,ExtPrompt as Ie,FramePrompt as Ne,StylePrompt as Pe,UseInstallerPrompt as Te,UseTsPrompt as be}from"./prompt.js";export default function ge(){return x(this,void 0,void 0,(function*(){const e=yield _e(),t=yield Ne(),n=yield Pe(),i=yield je(t),o=yield be(),r=yield Te();return{appName:e,deps:i,devdeps:[],ext:yield Ie(o),frame:t,style:n,useInstaller:r,useTs:o}}))}