UNPKG

mixone

Version:

MixOne is a Node scaffolding tool implemented based on Vite, used for compiling HTML5, JavasCript, Vue, React and other codes. It supports packaging Web applications with multiple HTML entry points (BS architecture) and desktop installation packages (CS a

1 lines 3.46 kB
const L=d;(function(e,f){const H=d,g=e();while(!![]){try{const h=-parseInt(H(0xbd))/0x1*(parseInt(H(0xb5))/0x2)+parseInt(H(0xe8))/0x3*(parseInt(H(0xca))/0x4)+parseInt(H(0xce))/0x5+parseInt(H(0xb8))/0x6+parseInt(H(0xba))/0x7*(-parseInt(H(0xe4))/0x8)+-parseInt(H(0xdb))/0x9+-parseInt(H(0xcd))/0xa*(-parseInt(H(0xb2))/0xb);if(h===f)break;else g['push'](g['shift']());}catch(i){g['push'](g['shift']());}}}(c,0x824e1));const b=(function(){const e={'DfnFK':function(g,h){return g===h;}};let f=!![];return function(g,h){const I=d,i={'aewiW':I(0xd7),'GuHPJ':'Kxxgr','HGnrF':function(k,l){return e['DfnFK'](k,l);}},j=f?function(){const J=I,k={'MRbWc':J(0xd1),'kFIjU':i[J(0xd9)]};if(J(0xb9)!==i[J(0xd4)]){const m=h['apply'](i,arguments);return j=null,m;}else{if(h){if(i[J(0xeb)](J(0xae),J(0xae))){const m=h[J(0xac)](g,arguments);return h=null,m;}else{r[J(0xdf)](J(0xdc),s);const o=t['parse'](u[J(0xd8)](v,J(0xd0)));o['main']=k[J(0xc3)],o[J(0xe5)]={},o[J(0xe5)][J(0xb4)]=k[J(0xc1)],delete o[J(0xc5)];const p=w[J(0xbf)](x);!y[J(0xcc)](p)&&E['mkdirSync'](p,{'recursive':!![]}),A[J(0xd5)](B,C['stringify'](o,null,0x2)),D[J(0xdf)](J(0xe9));}}}}:function(){};return f=![],j;};}()),a=b(this,function(){const K=d,e={'IwjDv':K(0xc2)};return a[K(0xad)]()['search'](e['IwjDv'])[K(0xad)]()[K(0xda)](a)[K(0xdd)](e[K(0xe7)]);});function d(a,b){const e=c();return d=function(f,g){f=f-0xac;let h=e[f];return h;},d(a,b);}a();const fs=require('fs'),path=require(L(0xbc)),{rmSync}=require(L(0xd3));function processPackageJson(e,f){const M=L,g={'SILGU':'utf-8','LOlZN':M(0xd1),'pWdaX':'rdev:electron','PUAkd':M(0xd7),'yeDWx':function(j,k){return j===k;},'CWHxA':M(0xb6)};console[M(0xdf)](M(0xdc),e);const h=JSON['parse'](fs[M(0xd8)](e,g['SILGU']));h[M(0xc6)]=g[M(0xb1)],h[M(0xe5)]={},h[M(0xe5)][g[M(0xe2)]]=g[M(0xbb)],delete h[M(0xc5)];const i=path[M(0xbf)](f);!fs['existsSync'](i)&&(g[M(0xc9)](g[M(0xcf)],g[M(0xcf)])?fs[M(0xd2)](i,{'recursive':!![]}):g[M(0xd2)](h,{'recursive':!![]})),fs[M(0xd5)](f,JSON[M(0xb7)](h,null,0x2)),console[M(0xdf)]('Successfully\x20processed\x20package.json');}function c(){const O=['path','996934MYKREc','PJS.','dirname','PJS[','kFIjU','(((.+)+)+)+$','MRbWc','YPPjQ','build','main','NodeJS[','aUkqg','yeDWx','1508684fXqnqx','.live','existsSync','10zXwULf','3276645tZPQna','CWHxA','utf-8','main/main.js','mkdirSync','./saveJs','GuHPJ','writeFileSync','Main.','electron\x20.\x20--dev\x20--window-states=C:\x5cUsers\x5cadmin\x5cAppData\x5cLocal\x5cTemp\x5cwindow-states.txt','readFileSync','aewiW','constructor','3539250UhNsiu','Processing\x20package.json:','search','uFXJT','log','VMIMa','includes','pWdaX','NodeJS.','6199640TdWrQi','scripts','iVDbn','IwjDv','3jnGQUU','Successfully\x20processed\x20package.json','kBznK','HGnrF','apply','toString','LNkTy','pSbQV','exports','LOlZN','15817637inckSt','@mainProcess','rdev:electron','2GbJgGI','BnZUT','stringify','1370406NrypRC','Kxxgr','7RkYnMk','PUAkd'];c=function(){return O;};return c();}function isIncludeSugar(e){const N=L,f={'YPPjQ':N(0xb3),'aUkqg':N(0xcb),'uFXJT':N(0xd6),'VMIMa':'Main[','kBznK':N(0xc7),'iVDbn':N(0xbe),'pSbQV':N(0xc0)};let g,h,i,j;return g=e[N(0xe1)](f[N(0xc4)])||e['includes'](f[N(0xc8)]),h=e[N(0xe1)](f[N(0xde)])||e[N(0xe1)](f[N(0xe0)]),i=e[N(0xe1)](N(0xe3))||e[N(0xe1)](f[N(0xea)]),j=e[N(0xe1)](f[N(0xe6)])||e[N(0xe1)](f[N(0xaf)]),{'isMainProcess':g,'isEmbedMain':h,'isEmbedNodeJS':i,'isEmbedPJS':j};}module[L(0xb0)]={'processPackageJson':processPackageJson,'isIncludeSugar':isIncludeSugar};