1 line
21 KiB
Plaintext
1 line
21 KiB
Plaintext
|
{"version":3,"sources":["eject.js"],"names":["filesUsingExpoSdk","filesWithExpo","usingExpo","length","expoSdkWarning","bold","filename","cyan","yellow","italic","reactNativeOptionMessage","questions","type","name","message","default","choices","value","prompt","ejectMethod","exists","resolve","useYarn","npmOrYarn","JSON","readFile","appJson","parse","pkgJson","newName","newDisplayName","displayName","expName","expo","stripDashes","validate","s","indexOf","enteredName","enteredDisplayname","writeFile","green","ejectCommand","ejectArgs","sync","stdio","status","red","process","exit","newDevDependencies","projectBabelPath","projectBabelRc","toString","babelRcJson","presets","includes","map","preset","push","main","dependencies","devDependencies","scripts","start","ios","android","jest","eject","lolThatsSomeComplexCode","args","stdin","stderr","console","error","findJavaScriptProjectFilesInRoot","cwd","projectJsFiles","all","f","buf","i","contents","jsFileContents","filesUsingExpo","requires","findAll","sort","root","stat","stats","isFile","endsWith","isDirectory","readdir","children","join","jsFilesInChildren","concat","apply","ret","c","then","catch","e"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;sFAaA;AAAA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAEgCA,mBAFhC;;AAAA;AAEUC,yBAFV;AAGUC,qBAHV,GAGsBD,cAAcE,MAAd,GAAuB,CAH7C;AAKQC,0BALR;;AAAA,iBAMQF,SANR;AAAA;AAAA;AAAA;;AAOME,6BAAoB,gBAAMC,IAAN,CAAW,UAAX,CAApB;;AAPN;AAAA;AAAA;AAAA;AAUM,wDAAqBJ,aAArB,qGAAoC;AAA3BK,sBAA2B;;AAClCF,uCAAuB,gBAAMG,IAAN,CAAWD,QAAX,CAAvB;AACD;;AAZP;AAAA;;AAAA;AAAA;AAAA;AAAA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AAAA;AAAA;AAAA;AAAA;;AAAA;;AAAA;AAAA;;AAAA;AAAA;;AAAA;AAcMF,qCACJ,gBAAMI,MAAN,CAAaH,IAAb,CAAk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